"缺失的Web部件"错误时,在Visual Studio 11 Beta版开放MVC3项目 [英] "Missing web components" error when opening MVC3 project in Visual Studio 11 Beta
问题描述
当我打开包含在Visual Studio 11 Beta版的MVC3项目的解决方案,我看到以下消息:
When I open a solution containing an MVC3 project in Visual Studio 11 Beta, I see the following message:
Web项目Landboss.Web'需要缺少的Web组件运行
与Visual Studio。你想下载并使用它们安装
网络现在平台安装? (注:有些组件可能需要
重新启动才能生效。)
The Web project 'Landboss.Web' requires missing web components to run with Visual Studio. Would you like to download and install them using the Web Platform Installer now? (Note: Some components might require restart to take effect.)
ASP.NET Web页面剃刀语法1.0.0.0
ASP.NET Web pages with Razor syntax 1.0.0.0
当我点击是,Web平台安装程序将打开,并告诉我:
When I click Yes, the Web Platform Installer opens and tells me this:
<一个href=\"http://learn.iis.net/page.aspx/604/troubleshooting-problems-with-microsoft-web-platform-installer-30/\">The你要安装的产品不支持你
操作系统。点击这里查看更多信息。
到目前为止,我已经安装了Visual Studio 11 Beta版两机都有同样的问题。
So far I've installed Visual Studio 11 Beta on two machines and both have this same problem.
推荐答案
我相信这是由事实,我不得不previously安装Visual Studio 11开发preVIEW引起的。在安装前测试我没有卸载它,但你知道如何继续下去。
I believe this was caused by the fact that I had previously installed Visual Studio 11 Developer Preview. I did uninstall it before installing the Beta, but you know how that goes.
要解决这个问题,我做了以下内容:
To fix it, I did the following:
- 卸载微软ASP.NET MVC 3 - 的Visual Studio 11工具更新
- 卸载微软ASP.NET网页 - 的Visual Studio 11工具
- 冉从安装ISO在Visual Studio 11 Beta版修复。
它的工作!剃刀语法高亮和智能感知的背部,警告信息不再显示,当我打开该项目。
It worked! Razor syntax highlighting and intellisense are back, and the warning message no longer shows when I open the project.
这篇关于&QUOT;缺失的Web部件&QUOT;错误时,在Visual Studio 11 Beta版开放MVC3项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!