Reputation: 863
The type or namespace name 'DataServiceKeyAttribute' does not exist in the namespace 'System.Data.Services.Common' (are you missing an assembly reference?)
This is the error that I have been getting and its driving me crazy. I am trying to build a web portal and I am following this tutorial.
Now after extensive search I am done and out. My target Framework is .Net Framework4 and there are some assemblies, specially the one from CRM sdk with version 5.0.
Could this be an issue?
Upvotes: 1
Views: 2119
Reputation: 259
This Type is defined in the .NET Framework Assembly Microsoft.Data.Services.Client
. Ensure that this assembly is referenced by your project and it should work fine.
Upvotes: 5