I have a VS2010 solution that has a few projects inside. One of them is a Sharepoint 2010 project that contains a WCF service generated from the CKS template.

I needed to migrate this solution to SP2013/VS2012 and so I did following this guide.

Everything seemed to went well (no errors in the migration report). But noticed that the Sharepoint project has an error in the WCF service.

In the MyService.svc.cs

[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
public class MyService : IMyService
// code...

The [BasicHttpBindingServiceMetadataExchangeEndpoint] attribute is not being found. In VS2010/SP2010 it was in Microsoft.SharePoint.Client.Services namespace. But now in VS2012/SP2013 there is no Services namespace inside Microsoft.SharePoint.Client so I can't compile the service. I can't find where that class is now, or if has been removed or renamed.

Have you been able to migrate a SP2010 WCF service to SP2013 with no problem? Any help?

Thank you

1 Answer 1


I found it. The missing DLL was in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.ServerRuntime.dll But wasn't registered on VS, so you need to manually browse to the file.

  • Same problem here and can confirm that emzero solution works. Thanks, you saved me some lost time searching for that missing reference.
    – SPArcheon
    Commented Sep 9, 2013 at 10:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.