Writing Cross-Framework Applications

In certain circumstances, you might want to run applications on a desktop machine that were compiled to run in the .NET Compact Framework. Version 1.1 of the full .NET Framework supports the concept of retargetable assemblies that allows you to run applications this way.

Retargetable Assemblies

Many of the .NET Compact Framework assemblies represent compatible subsets of full .NET Framework functionality. These assemblies carry a special attribute that identifies them as retargetable.

When a .NET Compact Framework application targets one of these assemblies, the Retargetable flag is copied into the resulting assembly reference. If the application is later launched on the desktop using the full version of the common ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.