在Windows 8中的VS 2012针对.NET 4.0 [英] Targeting .NET 4.0 in VS 2012 on Windows 8

查看:392
本文介绍了在Windows 8中的VS 2012针对.NET 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了VS 2012终极RTM的Windows 8专业版RTM,并试图打开包含几个项目(类库和WinForms)针对.NET 4.0的解决方案。 当溶液被加载时,VS提示说.NET 4.0不受支持。它给了我更新项目,以4.5的机会(和承诺,我可以改变后的目标),用于从4.0的此页面。 我决定更新我的项目到4.5,因为我没有运气安装提供多目标包(错误见下文)。 不幸的是,VS不显示4.0作为默认的目标(改变目标的一个更新的项目时),但重定向我的的网页,我可以下载多目标包。 到目前为止那么好,但我无法再安装任何提供下载(既不运行,也不针对包)。 该错误消息说,在案件的.NET Framework 4.0.3针对包:

I just installed VS 2012 Ultimate RTM on Windows 8 Pro RTM and tried to open a solution containing several projects (class libraries and WinForms) targeting .NET 4.0. When the solution is loaded, VS prompts that .NET 4.0 isn't supported. It gives me the chance to update my projects to 4.5 (and promises that I could change the target later) or install a "Multi targeting pack" for 4.0 from this page. I decided to update my projects to 4.5 because I had no luck installing the offered Multi targeting pack (errors see below). Unfortunately, VS does not show 4.0 as a target by default (when changing the target for an updated project), but redirects me to the page where I can download the Multi targeting pack. So far so good, but I wasn't able to install any of the offered downloads (neither runtime nor targeting pack) again. The error message says in case of .NET Framework 4.0.3 Targeting Pack:

安装程序检测到这台计算机不符合要求,安装此软件。以下阻塞问题必须得到解决,然后才能安装KB2600213的软件包。

安装要求:   微软.NET Framework 4的多目标包没有被发现。请修复,以获得此更新安装的Microsoft Visual Studio 2010中。

Installation Requirements: Microsoft .NET Framework 4 Multi-Targeting Pack was not found. Please repair your installation for Microsoft Visual Studio 2010 in order to get this update.

自叹不如,因为我还没有安装Visual Studio 2010。

Strange enough since I have no VS2010 installed.

.NET框架4.0.3运行时安装停止:

.NET Framework 4.0.3 Runtime Installation stops with the following error:

KB2600211不适用,或者是被你的计算机上的其他条件。

KB2600211 does not apply, or is blocked by another condition on your computer.

我已经签了.NET 4.0的安装(使用.NET安装验证工具),我试图修复VS2012,但没有让我面向.NET 4和事件日志中不包含任何相关的报告。任何建议或提示(除了要回的Win7 / VS2010)?

I've checked that .NET 4.0 is installed (using the .NET Installation verification tool), I've tried to repair VS2012 but nothing let me target .NET 4 and the Event log does not contain any related reports. Any suggestions or hints (besides going back to Win7/VS2010)?

推荐答案

我真的不知道是怎么回事。我有VS 2012终极RTM和所有版本的.NET的支持。

I'm honestly not sure what's going on. I have VS 2012 Ultimate RTM and all versions of .NET are supported.

我几乎可以肯定我从来没有手动安装任何.NET框架,虽然我没有从的 http://create.msdn.com

I'm almost positive I never installed any .NET frameworks manually, though I did install Visual Studio 2010 Express for Windows Phone from http://create.msdn.com.

这篇关于在Windows 8中的VS 2012针对.NET 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆