Recommendations on resolving a cs1705 error

Posted by Scott A. Lawrence on Stack Overflow See other posts from Stack Overflow or by Scott A. Lawrence
Published on 2010-03-18T19:18:16Z Indexed on 2010/03/18 19:21 UTC
Read the original article Hit count: 653

Filed under:
|
|

I'm upgrading a number of solutions from Visual Studio 2008 to Visual Studio 2010RC. In the process of doing this, I've encountered two instances of compiler error cs1705, one for System.Core and another for System.Data.Linq. In each case, an assembly compiled earlier has a reference to the .NET 4.0 version of these system assemblies, while the web project I'm trying to compile only has references to the .NET 3.5 version of them.

Adding .NET 4.0 versions of System.Core and System.Data.Linq to the web project doesn't resolve the error. Removing the .NET 3.5 versions of the assemblies so that only the .NET 4.0 versions remain results in even more errors.

Any recommendations on how to resolve this error would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .net-4.0