Adding reference to a class library

N

Nancy Kafer

I have class library project that is written in VB .NET 2003. This library
has all of my calculation routines I wish to share among programs. I have
added a reference to this class library in my smart device application. Now
I am getting a message:

"Error: The dependency 'mscorlib, Version=1.0.5000.0,
Culture=neutral,PublicKeyToken...cannot be copied
to the run directory because it would conflict with dependency
'mscorlib',Version=1.0.5000.0,Culture=neutral..."

I know this is an inconsistency because the version of mscorlib in my smart
device application is from the .NET Compact Framework and the version in my
class library is from the .NET Framework. How do I replace the version in my
class library so it also comes from the .NET Compact Framework?

Thanks for any help.

Nancy
 
C

Chris Tacke, eMVP

Create a new Smart Device Project. Add your source files and recompile.
The CF binary will be retargetable to the desktop.

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
 

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