mscorlib Error

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
 
S

Sergey Bogdanov

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top