[英]How to install ASP.NET MVC 5 Razor in Visual Studio 2015
I seem to have lost all my ASP.NET MVC 5 templates when creating a new project, and when I try to add a view to an existing MCV 5 site, this option, which used to be there: 创建新项目时,我似乎丢失了所有ASP.NET MVC 5模板,当我尝试向现有MCV 5网站添加视图时,该选项曾经存在:
"MVC 5 View Page with (Layout Razor)."
“带有(布局剃刀)的MVC 5视图页面。”
Is no longer there. 不再在那里。
I went to https://www.asp.net/mvc/mvc5 and it says to download Visual Studio 2015 community edition , or MVC 5 support for VS 2013. I am using VS 2015 Profession with update 2. I uninstalled update 3 thinking that's what did it. 我去了https://www.asp.net/mvc/mvc5 ,它说要下载Visual Studio 2015社区版或对VS 2013的MVC 5支持。我正在将VS 2015专业版用于更新2。我卸载了更新3思考就是这样做的。
Thanks, 谢谢,
重新安装更新3似乎已解决了该问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.