问题
I have a Windows Mobile application that is built for .NET CF 1.0. It is written in C#. How can this program check what versions of the .NET Compact Framework are installed on the device it is running on?
回答1:
It really depends on what you mean by "installed". If they were installed via CAB file (the most common), there will be entries in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETCompactFramework
that you could programmatically check.
来源:https://stackoverflow.com/questions/5956122/programatically-check-which-versions-of-net-compact-framework-are-installed