Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 should come as a Visual Studio extension, but I can't find that anywhere.

Or it is available only in Visual Studio 2013?

like image 686
Sreginogemoh Avatar asked Sep 30 '13 20:09

Sreginogemoh


People also ask

What happened to ASP.NET MVC 5?

ASP.NET MVC is no longer in active development. The last version update was in November 2018. Despite this, a lot of projects are using ASP.NET MVC for web solution development. As to JetBrains' research, 42% of software developers were using the framework in 2020.

How do I know if ASP.NET MVC is installed?

There are two ways to determine the versions installed in your machine. During designing, go to “Solution Explorer." Right click on it and expand the “References” folder. Right click on “Web. MVC” assembly.


2 Answers

Microsoft has provided for you on their MSDN blogs: MVC 5 for VS2012. From that blog:

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.

You can download and start using these features now.

The download link is to a Web Platform Installer that will allow you to start a new MVC5 project from VS2012.

like image 151
Jim Evans Avatar answered Sep 21 '22 05:09

Jim Evans


You can use Visual Studio 2012.

Simply update your NuGet package in Visual Studio to Microsoft.AspNet.Mvc 5.0.

You may have to search pre-release.

Also the default project comes with Entity Framework 6.0, and ASP.NET Razor 3.0.

You may also need ASP.NET Identity Core and OWIN.

All of these can be downloaded/updated through menu ToolsLibrary package managerManage NuGet Packages for Solution....

If you don't yet have NuGet, follow this tutorial:

http://docs.nuget.org/docs/start-here/installing-nuget

like image 41
Bob Avatar answered Sep 23 '22 05:09

Bob