"You must add a reference to the assembly" System.Data.Services.Client, Version = 3.5.0.0 "

I am building an application using a Windows Azure spreadsheet. I encapsulated all my calls to the table service in my own assembly. This assembly uses the .NET 4.0 platform and includes a link to System.Data.Service.Client (4.0). I can use this assembly from a test project without any problems.

When I add this project as a reference to the MVC2 web application - again targeting the .NET 4.0 platform - I get the above error. I added the same DLL (v.4.0) to the web project, but the problem persists.

What's happening? Why do I need to use 3.5 DLLs from an MVC project?

+4
source share
1 answer

I added the following to the web.config file, and all this is coaxial.

<system.web> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> </assemblies> </compilation> </system.web> 
+5
source

All Articles