Are cross-platform assemblies possible

  • Thread starter Thread starter Derek M. A. Lee-Wo
  • Start date Start date
D

Derek M. A. Lee-Wo

I am creating an app with desktop and PPC versions using C#. I decided to
put a lot of the common functionality into a separate assembly.

The PPC app can't seem to load it.

On further investigation, VS.NET has both a "normal" library and a "Smart
Device" assembly.

Is it that I can't create a single assembly that's usable from both a
desktop app and a PPC app? I guess I'm comparing this to say Java where I
can use a same physical JAR file on different platforms.

Derek
 
It is possible but you need to create a SmartDevice project. The generate
assembly will be usable on the desktop if none of the device-specific
libraries are used (such as SqlCE, InputPanel control and few others).
Library projects are the best from reuse standpoint
 
Tried it and it works great! Thanks for the prompt response.
 

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

Back
Top