SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 5 down vote accepted

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.

share|improve this answer
Same problem here and can confirm that emzero solution works. Thanks, you saved me some lost time searching for that missing reference. – SPArchaeologist Sep 9 '13 at 10:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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