.net 在 Windows 8 上安装 Visual Studio 2012 Ultimate
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12027597/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Installing Visual Studio 2012 Ultimate on Windows 8
提问by Robin Maben
While trying to install the visual studio 2012 ultimate trial on Windows 8 Release Preview I got the following error message
在尝试在 Windows 8 Release Preview 上安装 Visual Studio 2012 Ultimate Trial 时,我收到以下错误消息
The .Net Framework installed on this machine does not meet the minimum required version: 4.5.50709.
本机安装的.Net Framework 不满足最低要求版本:4.5.50709。
So I tried installing the required .net framework version, but that gave me the following error
所以我尝试安装所需的 .net 框架版本,但这给了我以下错误
Microsoft .NET Framework 4.5 is already a part of this operating system. You do not need to install the .NET Framework 4.5 redistributable.
Microsoft .NET Framework 4.5 已经是该操作系统的一部分。您不需要安装 .NET Framework 4.5 可再发行组件。
I am running the windows 8 release preview on a 32-bit Intel Core2Duo system, with Visual Studio Express already installed.
我正在 32 位 Intel Core2Duo 系统上运行 Windows 8 版本预览,并且已经安装了 Visual Studio Express。
Can somebody please help if you have any guesses at all. This "chasing-your-tail" problem is frustrating.
如果您有任何猜测,有人可以帮忙吗?这个“追尾”问题令人沮丧。
回答by Alexey F
This solution worked for me for at least Express 2012 for Web on 32-bit Windows 8 Release Preview:
该解决方案至少适用于 32 位 Windows 8 Release Preview 上的 Express 2012 for Web:
- Find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full node in the regedit
- Right click on the node, choose Permissions, then click "Advanced" button and change owner of this node to Administrators and then click OK and give Full Control permission to Administrators
- Change the value of "Version" parameter to "4.5.50709"
- 在regedit中找到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full节点
- 右键单击节点,选择权限,然后单击“高级”按钮并将该节点的所有者更改为管理员,然后单击确定并授予管理员完全控制权限
- 将“版本”参数的值更改为“4.5.50709”
I found this instruction at http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/e968a2e7-a996-4492-b0c6-da94a1403cb6. It also contains 64-bit windows registry path.
我在http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/e968a2e7-a996-4492-b0c6-da94a1403cb6找到了这个指令。它还包含 64 位 Windows 注册表路径。
回答by Juan
Other solutions:
其他解决方案:
Solution A)
解决方案 A)
- Download the .NET 4.5 installer and extract it (run it with /x, or open in WinRAR, etc.)
- Go to the extracted folder and open ParameterInfo.xml. Remove the TAG blockers, completely: remove the branch < blockers >.
- Execute SEtup.exe and try to install it again.
- 下载 .NET 4.5 安装程序并解压(使用 /x 运行,或在 WinRAR 中打开等)
- 转到解压缩的文件夹并打开 ParameterInfo.xml。彻底移除 TAG 拦截器:移除分支 <拦截器>。
- 执行 SEtup.exe 并尝试重新安装。
(It worked for me in Windows 8 Ultimate Version).
(它在 Windows 8 Ultimate 版本中对我有用)。
Solution B)
解决方案 B)
- Run regedit.exe.
- Edit Framework version key.
- WIN64-bit: Go to the following key:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full
- WIN32-bit:Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
- 运行 regedit.exe。
- 编辑框架版本密钥。
- WIN64 位:转到以下键:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full
- WIN32 位:转到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
NOTE: You'll need to change the permissions before you can edit anything. First, change the owner to Administrators, then assign the Administrators principal with Full Control. - Finally, simply change the value for "Version" to "4.5.50709". To change permission for editing registry, in Regedit, select you key, right-click-->Permissions-->Advanced-->Owner, select Administrators, Apply. Then grand Full Control to "Administrators"
注意:您需要先更改权限,然后才能编辑任何内容。首先,将所有者更改为 Administrators,然后为 Administrators 主体分配完全控制权。- 最后,只需将“版本”的值更改为“4.5.50709”。要更改编辑注册表的权限,在Regedit 中,选择您的密钥,右键单击--> 权限--> 高级--> 所有者,选择管理员,应用。然后对“管理员”进行盛大的完全控制
回答by Marc Gravell
That isn't supported and isn't going to work. Both VS and Windows were evolving, and only a few very specific combinations of OS and IDE worked together. Since both are now RTM this should no longer be an issue, and MS are certainly not going to go out of their way to make these throwaway test platforms ensure compatibility.
这不受支持,也不会起作用。VS 和 Windows 都在不断发展,只有少数非常具体的 OS 和 IDE 组合可以协同工作。由于现在两者都是 RTM,这应该不再是问题,而且 MS 肯定不会不遗余力地使这些一次性测试平台确保兼容性。
If you are an MSDN or technet subscriber you should be able to download a Win8 RTM image for development purposes(testing, validation, etc). Otherwise you'll have to purchase and install Windows 8 retail, or install VS2012 on your existing OS (Windows 7, presumably). Likewise, VS 2012 RTM is available from MSDN. Note that VS2012 only supports "Modern UI" development (or whatever it is called this week) on Windows 8 (regular .NET framework development is supported both on Windows 7 and Windows 8).
如果您是 MSDN 或 technet 订阅者,您应该能够下载 Win8 RTM 映像以用于开发目的(测试、验证等)。否则,您将不得不购买和安装零售版 Windows 8,或者在您现有的操作系统(大概是 Windows 7)上安装 VS2012。同样,VS 2012 RTM 可从 MSDN 获得。请注意,VS2012 仅支持 Windows 8 上的“现代 UI”开发(或本周的任何名称)(Windows 7 和 Windows 8 均支持常规 .NET 框架开发)。
回答by Marc Gravell
You can also get 90 day trial of Windows 8 Enterprise from here now
您现在还可以从这里获得 Windows 8 Enterprise 的 90 天试用版

