You cannot add a Microsoft.SharePoint.Client.ServerRunTime.dll reference to a WCF project in Visual Studio

Article translations Article translations
Article ID: 983076 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you create a Windows Communication Foundation (WCF) project in Microsoft Visual Studio 2010, the Microsoft.SharePoint.Client.ServerRunTime.dll reference is not available on the .NET tab. Therefore, you cannot add this reference.

RESOLUTION

To resolve this issue, locate the GAC_MSIL directory, and from there, manually add the reference to Microsoft.SharePoint.Client.ServerRunTime.dll. GAC_MSIL is located in the root GAC directory: 
Windows\Assembly\GAC_MSIL

Properties

Article ID: 983076 - Last Review: October 19, 2010 - Revision: 2.0
APPLIES TO
  • Microsoft SharePoint Foundation 2010
  • Microsoft SharePoint Server 2010
Keywords: 
kbprb kbsurveynew kbexpertiseadvanced kbpubtypekc kbmacro KB983076

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com