So far,. NET Compact framework has developed to v3.5 beta2. Many versions have been released from V1.0 RTM to v3.5 beta2.ProgramTo determine the current CLR version, and make appropriate processing.
The simplest way to determine the version of. NET Compact framework is to call the static attribute system. environment. version. This attribute returns the currentCode. However, it is difficult to determine the actual name of a version only with the version number. To solve this problem, Neil cowburn has compiled the following table for your reference:
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.20.7.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.43133 |
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 |
In addition, he provides an XML file that saves the above ing relationships. Thank you, Neil cowburn!
Source: HOWTO: determining the. NET Compact Framework Version