locked
DataServiceContext exists in both Microsoft.Data.Services and System.Data.Services assemblies RRS feed

  • Question

  • User355099563 posted

    I have an Azure Web Role project that I recently added an Azure Data Marketplace service reference too.  Whenever I go to compile the project I get the following error:

    Error 1 The type 'System.Data.Services.Client.DataServiceContext' exists in both 'c:\Users\Documents\WebMatrix Solutions\Projects\packages\Microsoft.Data.Services.Client.5.0.0\lib\net40\Microsoft.Data.Services.Client.dll' and 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.Services.Client.dll' C:\Users\Documents\WebMatrix Solutions\Projects\MvcWebRole1\Service References\DNBSandbox\Reference.cs 19 93 MvcWebRole1

    I know that the error is telling me that the type (and it's sub-types) exist in two assemblies.  What I need to know is the fastest way to fix this without breaking the rest of my code.  Any ideas?

    Tuesday, July 23, 2013 10:42 PM

Answers

All replies