- 入门指南
- 要求
- 最佳实践
- 安装
- 正在更新
- 身份服务器
- High Availability Add-On
通过查看注册表编辑器,您可以查看在给定计算机上安装的 .NET Framework 版本,如下所示:
对于 .NET Framework 1 - 4
-
In the Start menu, type Run and click the displayed desktop app. The Run window is displayed.
-
In the Open box, type
regedit.exeand click OK. The Registry Editor is displayed.备注:You must have administrative credentials to run
regedit.exe. -
打开以下子项:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP。
已安装的版本列在 NDP 子项下。 版本号存储在“版本”条目中。 对于 .NET Framework 4,“版本”条目位于 NDP 下的“客户端”或“完整”子项下,或两个子项下。
The NET Framework Setup folder in the registry does not begin with a period.
对于 .NET Framework 4.5 及更高版本
-
In the Start menu, type Run and click the displayed desktop app. The Run window is displayed.
-
In the Open box, type
regedit.exeand click OK. The Registry Editor is displayed.备注:运行
regedit.exe需要管理凭据 -
In Registry Editor, open the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full. If the Full subkey is missing, you do not have .NET Framework version 4.5 or later installed on the machine.`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full``HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full`备注:The path to the Full subkey includes the Net Framework subkey, rather than .NET Framework.
-
Check for a DWORD value named Release. If the Release DWORD exists, .NET Framework version 4.5 or later has been installed on the computer.
The value of the Release DWORD indicates which version of the .NET Framework is installed.
| 发布 DWORD 的值 | .NET Framework 版本 |
|---|---|
| 378389 | .NET Framework 4.5 |
| 378675 | 与 Windows 8.1 或 Windows Server 2012 R2 一起安装的 .NET Framework 4.5.1 |
| 378758 | 在 Windows 8、Windows 7 SP1 或 Windows Vista SP2 上安装的 .NET Framework 4.5.1 |
| 379893 | .NET Framework 4.5.2 |
| 在 Windows 10 系统上:393295 在所有其他操作系统版本上:393297 | .NET Framework 4.6 |
| 在 Windows 10 11 月更新系统上:394254 在所有其他操作系统版本上:394271 | .NET Framework 4.6.1 |
| 在 Windows 10 周年更新系统上:394802 在所有其他操作系统版本上:394806 | .NET Framework 4.6.2 |
| 在 Windows 10 创意者更新上:460798 在所有其他操作系统版本上:460805 | .NET Framework 4.7 |
| 在 Windows 10(2018 年 4 月更新)和 Windows Server(版本 1803)上:461808 在所有其他 Windows 10 和 Windows Server 版本上:461814 | .NET Framework 4.7.2 |
| 在 Windows 10 2020 年 5 月更新和 Windows 10 2020 年 10 月更新上:528372 在 Windows 10 2019 年 5 月更新和 Windows 10 2019 年 11 月更新上:528040 在所有其他操作系统版本上:528049 | .NET Framework 4.8 |