Send mail to the author(s)

August 22, 2007

HOWTO: Determining the .NET Compact Framework Version

The easiest way to do this is to call System.Environment.Version as this returns the version number of the CLR that is executing the code. However, the version number alone doesn't mean much unless you can relate this is a specific release of the .NET Compact Framework. To aid that, here's a table of the releases and version numbers that I'm aware of:

Version Release
1.0.2268.0 1.0 RTM
1.0.3111.0 1.0 SP1
1.0.3226.0 1.0 SP2 (Recalled)
1.0.3227.0 1.0 SP2 Beta
1.0.3316.0 1.0 SP2 RTM
1.0.4177.0 1.0 SP3 Beta
1.0.4292.0 1.0 SP3 RTM
2.0.4037.0 2.0 May CTP
2.0.4135.0 2.0 Beta 1
2.0.4317.0 2.0 November CTP
2.0.4278.0 2.0 December CTP
2.0.5056.0 2.0 Beta 2
2.0.5238.0 2.0 RTM
2.0.6103.0 2.0 SP1 Beta
2.0.6129.0 2.0 SP1 RTM
2.0.7045.0 2.0 SP2 RTM
3.5.7066.0 3.5 Beta 1
3.5.7121.0 3.5 Beta 2
3.5.7283.0 3.5 RTM

And here's the data in XML so that you can use it in your own applications: VersionMap.xml (1.1 KB)

June 25, 2008: Added .NET Compact Framework 3.5 RTM