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

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

    If you want to install ASP.NET MVC 5 and ASP.NET Web API 2 into VS 2012 Ultimage so, you can download MSI installer from
    http://www.microsoft.com/en-us/download/details.aspx?id=41532.

    I have downloaded and intalled just know. I got MVC 5 and Web API 2
    :)

    0 讨论(0)
  • 2020-12-04 14:32

    FYI. You can now just update VS 2012:

    http://blogs.msdn.com/b/webdev/archive/2013/11/18/announcing-release-of-asp-net-and-web-tools-2013-1-for-visual-studio-2012.aspx

    "We have released ASP.NET and Web Tools 2013.1 for Visual Studio 2012. This release brings a ton of great improvements, and include some fantastic enhancements to ASP.NET MVC 5, Web API 2, Scaffolding and Entity Framework to users of Visual Studio 2012 and Visual Studio 2012 Express for Web."

    0 讨论(0)
  • 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...

    0 讨论(0)
  • 2020-12-04 14:41

    Step 1: Install update http://httpjunkie.com/2013/340/develop-mvc-5-with-asp-net-identity-in-visual-studio-2012/.

    OK, so that gets you to be able to start from a blank ASP.NET MVC project, but a lot of people want the FULL INTERNET APPLICATION as shipped with Visual Studio 2013.

    So I have a step 2: http://httpjunkie.com/2013/340/develop-mvc-5-with-asp-net-identity-in-visual-studio-2012/

    If you follow that tutorial on my website I follow it up with a full install of Foundation 5 and a cool Hybrid OffCanvas/Top-Bar navigation.

    0 讨论(0)
  • 2020-12-04 14:42

    There are a few installs you may need to apply for ASP.NET MVC 5 support in Visual Studio 2012. Update 4 seems to include the Web Tools update now.

    • Windows 8.1 SDK
    • Visual Studio 2012 Update 4
    • ASP.NET and Web Tools 2013.1 for Visual Studio 2012

    You don't have to install the full Windows 8.1 SDK if you are just looking for the option to build web applications, just the .NET Framework 4.5.1 option in the installer. The full install is about 1.1 GB, but just the .NET installer is only 72 MB.

    0 讨论(0)
提交回复
热议问题