Visual Studio 2015 中缺少 MVC 模板

Visual Studio 2015 中缺少 MVC 模板

问题描述:

当我用 Visual Studio 创建一个新的 web 项目时,我只能看到下图中的模板:

When I create a new web project with Visual Studio, I only see the templates in the picture below:

缺少MVC,所以我只能创建空项目.

The MVC one is missing and so I can only create empty projects.

我尝试修复 Visual Studio,但没有成功.

I tried with a repair of Visual Studio, but no luck.

有什么建议吗?

安装 开发者工具Microsoft ASP.NET 和 Web 工具 2015 (Beta7).我尝试重新安装 ASP.NET 项目模板,但它没有'帮助.

Just got the same issue after installing Developer Tools Microsoft ASP.NET and Web Tools 2015 (Beta7). I tried to reinstall ASP.NET Project Templates but it didn't help.

在查看添加/删除程序"->Visual 2015"->修改"时,我发现 Web 开发人员工具" 未选中.这个 SO 答案 帮助我理解这一点.

While looking into "Add / remove programs" -> "Visual 2015" -> "Modify" , I found the "Web developer tools" unchecked. This SO answer helps me to figure this.

重新安装后,一切都重新出现

After reinstalling this, everything reappears