This project is read-only.

referencing the libraries

May 9, 2012 at 10:43 PM

How is it done? I can't get past this error:

 

How do you link to these libraries using VS 2010 with SP1?

 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3268: The primary reference "TomShane.Neoforce.Controls" could not be resolved because it has an indirect dependency on the framework assembly "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0,Profile=Client". To resolve this problem, either remove the reference "TomShane.Neoforce.Controls" or retarget your application to a framework version which contains "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".

 I've tried building these from the source up, but I can only specify the .Net Framework 4 or the .Net Framework 4 Client Profile. Both compile, but neither will link.

Apr 8, 2013 at 6:58 AM
I know, its very late, but for reference.

The error you are getting is saying mscorlib is not available in .NET 4 Client.

Change the target framework to the full .NET 4 Run time, and it will compile.