如何添加MVC5到Visual Studio 2013? [英] How to add MVC5 to Visual Studio 2013?

查看:196
本文介绍了如何添加MVC5到Visual Studio 2013?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始一个新的项目,并想给一个尝试MVC 5(我建立之前,使用MVC 4 Web应用程序)。

I'm starting a new project, and would like to give a try to MVC 5 (I have built a web app using MVC 4 before).

在Visual Studio 2013,我单击新建项目并导航到Visual C#>网络>的Visual Studio 2012(尽管我已经安装了VS 2013它说,2012年,在菜单中),并在名单上我只有MVC 4应用程序 - 不是5。

In Visual Studio 2013, I click the New Project and navigate to Visual C# > Web > Visual Studio 2012 (even though I have installed VS 2013 it says 2012 in the menu) and on that list I only have MVC 4 application - not 5.

在下拉菜单的框架设置为.NET框架4.5.1 - ,仍然一无所获。

The framework in the drop down menu is set to .NET Framework 4.5.1 - and still nothing.

我检查工具>扩展和更新,并寻找MVC 5 - 但它不会从微软找到任何官方

I've checked Tools > Extensions and Update and searched for MVC 5 - but it doesn't find anything official from Microsoft.

我如何添加MVC 5到我的Visual Studio 2013?

How can I add MVC 5 to my Visual Studio 2013?

感谢您

推荐答案

的Visual Studio 2013不再有单独的项目类型不同的ASP.Net功能。

Visual Studio 2013 no longer has separate project types for different ASP.Net features.

您必须为了看到ASP.NET Web应用程序模板(对于ASP.NET一)选择的.NET Framework 4.5(或更高)。结果
因此,只要选择Visual C#>网络> ASP.NET Web应用程序,然后选择下一步MVC复选框。

You must select .NET Framework 4.5 (or higher) in order to see the ASP.NET Web Application template (For ASP.NET One).
So just select Visual C# > Web > ASP.NET Web Application, then select the MVC checkbox in the next step.

注意:确保不要选择C#>网络> 的Visual Studio 2012 子文件

这篇关于如何添加MVC5到Visual Studio 2013?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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