I have a little insight into the issue.
When I created the dll, the IDE selected the mscorlib file from the full
framework (F:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\msco rlib.dll).
However, the class library will be used in the CompactFramework (my project
there references F:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\mscorlib.dll).
Sooooo ... how to redirect the reference to mscorlib in the DLL and how to
ensure that any DLL files I create will initially reference the proper
mscorlib for CF?
Thanks Herfried.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eH**************@tk2msftngp13.phx.gbl...
"Earl" <br******@newsgroups.nospam> schrieb: Created a .dll to use in multiple projects. Very simple, one class to
return a purpose for a particular version. But when I added it as a
reference to one of my other projects, I get a build error (even before I
try to build it): "Error: The dependency 'mscorlib, Version= 1.0.5000.0,
Culture=neutral,"
I put the dll in the bin directory below my project and then add it as a
reference. What am I overlooking here?
I am just curious if this problem occurs only if you use your own copy of
the DLL or add the reference to the .NET Framework's "mscorlib.dll"
("%WINDIR%\Microsoft.NET\Framework\v1.1.4322\mscor lib.dll").
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>