We have established what the different device platforms are, and so the next question is which version of the .NET Compact Framework should you choose to target? “The latest version” would seem to be the obvious answer, but, as with many things concerning devices, it’s not quite that simple! As the developer, you choose a version of the .NET Compact Framework on which to build your application. If you choose version 1.0, you can be reasonably confident that your application will run on all devices because versions 2.0 and later of the .NET Compact Framework runtime run applications that were built to run on an earlier version. However, if you write code that uses features only available in .NET Compact Framework 2.0, that version of the .NET Compact Framework runtime must be installed on your target device for your application to operate.
The versions of the .NET Compact Framework runtime that are supported by the different mobile platforms are illustrated in Figure 1-5. Note that the figure does not represent an accurate timeline for the release of the different mobile platforms (for example, Windows CE 5.0 was released earlier than the Windows Mobile 5 operating systems) but is purely intended to illustrate run-time support.
Figure 1-5: Supported platforms for different .NET Compact Framework versions
Microsoft does not manufacture mobile devices, but it does supply the software for such devices. As part of the license agreement, device manufacturers that manufacture devices that use Windows Mobile software must agree to preinstall the .NET Compact Framework runtime on all Windows Mobile-based smartphones and Pocket PCs. However, because it takes quite a long time to design and release a new device, the availability of the newest version of the runtime on devices in the marketplace lags behind the release of the software by Microsoft.


Recent Comments