Visual Studio 2015 中缺少 MVC 模板 [英] Missing MVC template in Visual Studio 2015

查看:61
本文介绍了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

这篇关于Visual Studio 2015 中缺少 MVC 模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆