How can I add the MVC 5 project template to VS 2012?

六月ゝ 毕业季﹏ 提交于 2019-12-18 14:14:24

问题


I have Visual Studio 2012 and want to add the MVC 5 template.

How can this be done or it is only available in VS 2013?


回答1:


Update your Visual studio, Here's the link

https://www.microsoft.com/web/handlers/webpi.ashx/getinstaller/WebNode11Pack.appids

You can find more detail from below post.

http://blogs.msdn.com/b/webdev/archive/2013/11/18/announcing-release-of-asp-net-and-web-tools-2013-1-for-visual-studio-2012.aspx




回答2:


MVC 5/ Razor 3 support for VS 2012 has not shipped yet. If you want to get started with it, you might want to just install VS 2013 express. It will run side by side with VS 2012.




回答3:


This is what you need: http://www.microsoft.com/en-us/download/details.aspx?id=41532

These are generally some VS2013 asp net features which one can install for vs 2012 (from Microsoft)




回答4:


You can upgrade your MVC 4 application to MVC 5 as as given in here. See this link also.



来源:https://stackoverflow.com/questions/18288215/how-can-i-add-the-mvc-5-project-template-to-vs-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!