简体   繁体   English

如何在Visual Studio 2015中安装ASP.NET MVC 5 Razor

[英]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.

相关问题 如何在Visual Studio 2015中创建ASP.NET MVC 4项目 - How to Create an ASP.NET MVC 4 project in visual studio 2015 在Visual Studio 2015中的asp.net Core上安装MVC - Installing MVC on asp.net Core in visual Studio 2015 ASP.NET 5 MVC(Visual Studio 2015):一个名为Inject的关键字 - ASP.NET 5 MVC (Visual Studio 2015): a keyword called Inject 如何在Visual Studio 2015中使用MSBuild在构建上部署ASP.NET MVC应用程序? - How to deploy an ASP.NET MVC application on build using MSBuild in Visual Studio 2015? 如何使用Visual Studio 2013/2015启动并运行ASP.NET MVC音乐存储? - How to get ASP.NET MVC Music Store up and running with Visual Studio 2013/2015? 如何将ASP.NET MVC 5 Web App部署到带有Visual Studio 2015 Enterprise的Apache(带有Mono)? - How to Deploy ASP.NET MVC 5 Web App to Apache w/ Mono w/ Visual Studio 2015 Enterprise? 安装 ASP.NET 和 Web Tools 2015 后出现 Visual Studio 错误“未将对象引用设置为对象的实例” - Visual Studio error "Object reference not set to an instance of an object" after install of ASP.NET and Web Tools 2015 Visual Studio 2015,ASP.NET 5,MVC 6,Angular 2.0 - 例外:必须定义令牌 - Visual Studio 2015, ASP.NET 5, MVC 6, Angular 2.0 - Exception: Token must be defined ASP.Net MVC-5 / EF-6 sln在Visual Studio 2015中工作,在VS 2017中失败 - ASP.Net MVC-5/EF-6 sln works in Visual Studio 2015, fails in VS 2017 无法从IIS(内部服务器500)使用Visual Studio 2015运行简单ASP.NET MVC应用程序 - Cannot run Simple ASP.NET MVC Application with Visual Studio 2015 from IIS (Internal Server 500)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM