Sun, January 15, 2006, 01:56 PM under
MobileAndEmbedded
While today we are on v2 of the .NET Compact Framework (2.0.5238.0), you can of course have v1.0 (there never was a v1.1) side by side on the target.
NETCF v1 had three service packs and the SP3 version number is 1.0.4292.0 (for the full list of version numbers and how to determine what is on your target
see this).
So it was a surprise to me when I run cgacutil.exe (in the Windows directory) on my jasjar and it reported the correct v2 version but a new (to me) v1 version:
1.0.4292.2It turns out (thanks Nazim Lala) that revision 2 is specific to Windows Mobile 5.0 (a loader security fix).
When I created a v1 app and run it on the device the plot thickened: my call to
System.Environment.Version.ToString()
returned 1.0.4292.0 – so which is correct, the API or cgacutil?
The answer is both. From an end user/developer point of view, nothing has changed so the hard-coded version returned by the API remains (by design) the same (thanks Jeremy Hance).
(so now you know :-)