【问题标题】:Visual Studio 2010 MVC Project type DisappearedVisual Studio 2010 MVC 项目类型消失
【发布时间】:2010-08-24 14:40:41
【问题描述】:

我使用 Visual Studio 2010 Premium RTM 已经一个多月了。当我安装它时,我重新安装了 Windows。 (没有测试版或以前版本的 VS)

自安装以来,我一直在创建新的 ASP.NET MVC2 C# 项目。我今天去创建一个新的 mvc 项目,但我不再有这个选项了。我进入了新项目部分而不是新网站部分。我没有看到它列在 C# 或 VB 下。

有没有办法在不重新安装 Visual Studio 的情况下恢复它?

【问题讨论】:

  • 您确定仍然选择 .net 3.5 作为目标框架吗?

标签: asp.net-mvc visual-studio-2010 project-template


【解决方案1】:

我在使用 Linq to SQL 模板时遇到了这个问题。在其他堆栈溢出问题上尝试accepted answer

解决方案是运行

devenv.exe /InstallVSTemplates

重新安装模板。当我在 Visual Studio 2010 中缺少模板时,它对我有用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多