Different framework versions of mscorlib when creating a dll

E

Earl

When I created a dll to be used in multiple, the IDE selected the mscorlib
file from the latest version of the full framework
(F:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorlib.dll).
However, the class library will be used in the CompactFramework, and the
main project I created there references F:\Program Files\Microsoft Visual
Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE\mscorlib.dll. Here
I have v1.0.5.

Was there an upgrade to the CompactFrameworkSDK to v.1.1 or what am I not
understanding here? In any event, how do I redirect the reference to
mscorlib in the DLL and thus ensure that any DLL files I create will
initially reference the proper mscorlib for CF?
 
P

Peter Foot [MVP]

When you want to create a dll for the compact framework you must select the
"Smart Device Application" project type and then select class library from
within the wizard - the Class Library project on the main New Project dialog
is full framework only.

Peter
 

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