The C# library must be created as a Smart Device project too (not a desktop
framework library). If you create a smart device library however it can also
be used in the desktop framework (as long as there is no .NETCF specific
functionality).
Peter
--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com |
www.opennetcf.org
"Muhammad Arif" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
> I have made class library project in C# and created its dll
> (test.dll). Now I add it to References of VB.Net project. I then
> compiled VB.Net project, it gives the following error,
>
>
> Error: The dependency 'mscorlib, Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=969db8053d3322ac' in project 'EltrataxPDA' cannot be
> copied to the run directory because it would conflict with dependency
> 'mscorlib, Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089'.
>
>
> How I can use the C# dll in VB.Net without having and error?
>
> Regards,
> Muhammad Arif