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

后端 未结 11 906
借酒劲吻你
借酒劲吻你 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:16

    You should be able to install from NuGet (http://www.nuget.org/packages/Microsoft.AspNet.Mvc) into VS2012. Change the Target Framework to .NET 4.5.

    Not sure the new project templates are ready for VS2012. But if you have an ASP.NET MVC 4 app you can upgrade using the link below.

    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

提交回复
热议问题