How do I install ASP.NET MVC 5 in Visual Studio 2012?

后端 未结 11 909
借酒劲吻你
借酒劲吻你 2020-12-04 13:47

Is there a way to install ASP.NET MVC 5 in Visual Studio 2012?

I\'ve tried using NuGet (http://www.nuget.org/packages/Microsoft.AspNet.Mvc). But I think that it shou

11条回答
  •  庸人自扰
    2020-12-04 14:33

    Following Microsoft tutorial-upgrade ASP.NET MVC 4 to ASP.NET MVC 5, http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2, you can achieve that with one problem that Visual Studio 2012 will not be able to recognize your project as neither ASP.NET MVC 4 nor 5.

    It will deal with it as a Web Form project. For example, options such adding a controller will not be there any more...

提交回复
热议问题