Class library

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an application that needs to run in a similar way on both .net compact
framework clients and winforms clients.

I tried to link my compact framework app to the assemblies of the winforms
class library, and got an error.

I could just copy and paste the code from the winforms class library into a
compact framework class library, but that's not too maintainable.

Anybody know any tricks to get around this one?

Thanks,
John
 
If you compile the class library against the compact framework then the
resulting assembly can be retargeted against a desktop application. This
means that as long as you only rely on types and members that are in both
the full and compact framework, and you compile against the compact
framework, then you can just use the assembly in applications targeted
against the full framework.
 
Back
Top