问题描述
我昨天问过这个问题 - 它被一些没有花时间仔细阅读问题/评论的人关闭为完全重复"!所以,再试一次 - 也许它有时间在因某种毫无意义的原因再次关闭之前收到一些有效的答案.
I've asked this question yesterday - it was closed as "exact duplicate" by some people who didn't take the time themselves to read questions / comments carefully!So, another try - maybe it gets the time to receive some working answer before being closed for some pointless reason again.
Microsoft 最近发布了一些针对 .NET Framework 的更新".不幸的是,我不知道有什么方法可以找出安装了哪个版本.框架版本保持在 4.0.30319.239
.
Microsoft has recently released some "update" for .NET Framework. Unfortunately, I don't know any way to find out which version is installed. Framework-Version stays on 4.0.30319.239
.
感谢您的启发;-)
PS:将 app.config 中的 supportedRuntime 设置为 Version=4.0.2 会使应用程序在启动时告诉我未安装 4.0.2(很快 - 所以必须有一些地方可以安装真实"版本找到了).
PS: Setting supportedRuntime in app.config to Version=4.0.2 makes the application tell me at startup that 4.0.2 is not installed (in no time - so there must be some place where the "real" version can be found).
推荐答案
看看:
HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkv4.0.30319SKUs
如果您安装了 4.0.2,则存在这些附加节点:
If you have installed 4.0.2 then there exist these additional nodes:
HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkv4.0.30319SKUs.NETFramework,Version=v4.0.1
HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkv4.0.30319SKUs.NETFramework,Version=v4.0.1,Profile=Client
HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkv4.0.30319SKUs.NETFramework,Version=v4.0.2
HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkv4.0.30319SKUs.NETFramework,Version=v4.0.2,Profile=Client
这篇关于如何确定是否安装了 .NET 4.02?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!