简体   繁体   中英

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:

"MVC 5 View Page with (Layout Razor)."

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.
Thanks,

在此处输入图片说明

重新安装更新3似乎已解决了该问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM