I have no way of specifying a Windows Mobile 5.0 target in my desktop library
project. Is there a way to do this?

Or am I going to have to manually create a new Windows Mobile library
project and copy over the source files for every single project?

Or can I simply move the .dll file over to my Windows Mobile 5.0 device and
it'll automatically work (what with the VM and all, I'd expect this).

I sure hope someone has some good news for me!

Re: Compiling C# PC-based Library to Windows Mobile Library by Peter

Peter
Wed Jan 11 16:35:29 CST 2006

Because Windows Mobile uses the Compact Framework which is a subset of the
full .NET framework you can't do this. You can however use a dll compiled
against the compact framework in a desktop project. You will need therefore
to use a separate project even if you share the same source code files (and
you may use conditional compilation to hide desktop functionality from the
device build and vice versa)

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net

"David Lowe" <DavidLowe@discussions.microsoft.com> wrote in message
news:4FFC0C80-9167-4E78-8C81-6DE0321A6DA8@microsoft.com...
>I have no way of specifying a Windows Mobile 5.0 target in my desktop
>library
> project. Is there a way to do this?
>
> Or am I going to have to manually create a new Windows Mobile library
> project and copy over the source files for every single project?
>
> Or can I simply move the .dll file over to my Windows Mobile 5.0 device
> and
> it'll automatically work (what with the VM and all, I'd expect this).
>
> I sure hope someone has some good news for me!



Re: Compiling C# PC-based Library to Windows Mobile Library by Daniel

Daniel
Sat Jan 14 06:26:04 CST 2006

http://www.danielmoth.com/Blog/2004/09/share-code-if-fullframe_17.html

Cheers
Daniel
--
http://www.danielmoth.com/Blog/

"David Lowe" <DavidLowe@discussions.microsoft.com> wrote in message
news:4FFC0C80-9167-4E78-8C81-6DE0321A6DA8@microsoft.com...
>I have no way of specifying a Windows Mobile 5.0 target in my desktop
>library
> project. Is there a way to do this?
>
> Or am I going to have to manually create a new Windows Mobile library
> project and copy over the source files for every single project?
>
> Or can I simply move the .dll file over to my Windows Mobile 5.0 device
> and
> it'll automatically work (what with the VM and all, I'd expect this).
>
> I sure hope someone has some good news for me!