这是我的环境 Windows7、Visual Studio 2010、MVC2.0 和 NET4 我的默认网站配置为使用 ASP.NET v4.0 应用程序池。
这是重现我的问题的简单方法
创建一个新的 MVC2 应用程序 打开属性窗口 转到 Web 选项卡 检查“使用 IIS 本地 Web 服务器”单击“创建虚拟目录”按钮
我收到此错误消息
To access local IIS Web Sites, you must install the following IIS components:
In addition, you must run visual Studio in the context of an Administrator account
For more information, press F1
请注意“...以下 IIS 组件:”之后的空白行
我以管理员身份运行 VS2010 按 F1 没有任何帮助