mscorlib Error

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

I keep getting the same error twice when I compile my code:

Error: The dependency 'mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=969db8053d3322ac' in project 'MyApp' cannot be copied
to the run directory because it would conflict with dependency
'mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.

I have added a bunch of OpenNETCF references, even though I don't know
which ones I need...could that be the problem? Please Help!

Thanks
 
The Compact Framework 1.0 contains mscorlib with PublicKeyToken
'969db8053d3322ac' but Framework 1.1 includes one with
'b77a5c561934e089' public key token. So the problem is that your were
trying to mix Full Framework with Compact framework in one application.
Make sure that all references are for Compact Framework.

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 
Back
Top