gpt4 book ai didi

visual-studio - 在Visual Studio 11 Beta中打开MVC3项目时"Missing web components"错误

转载 作者:行者123 更新时间:2023-12-04 03:30:04 24 4
gpt4 key购买 nike

当我在Visual Studio 11 Beta中打开包含MVC3项目的解决方案时,我看到以下消息:

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 pages with Razor syntax 1.0.0.0



当我单击 时,Web平台安装程序将打开并告诉我:

The product you are trying to install is not supported on your operating system. Click here for more information.



到目前为止,我已经在两台计算机上安装了Visual Studio 11 Beta,并且两者都存在相同的问题。

最佳答案

我相信这是由于我以前安装了Visual Studio 11 Developer Preview而引起的。在安装Beta版之前,我确实已将其卸载,但是您知道怎么回事。

为了解决这个问题,我做了以下工作:

  • 卸载“Microsoft ASP.NET MVC 3-Visual Studio 11工具更新”
  • 卸载“Microsoft ASP.NET网页-Visual Studio 11工具”
  • 从安装ISO运行Visual Studio 11 Beta“修复”。

  • 有效! Razor 语法高亮显示和智能感知又回来了,当我打开项目时,警告消息不再显示。

    关于visual-studio - 在Visual Studio 11 Beta中打开MVC3项目时"Missing web components"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9519776/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com