How to add MVC5 to Visual Studio 2013?
Visual Studio 2013 no longer has separate project types for different ASP.Net features.
You must select .NET Framework 4.5 (or higher) in order to see the ASP.NET Web Application template (For ASP.NET One).
So just select Visual C# > Web > ASP.NET Web Application, then select the MVC checkbox in the next step.
Note: Make sure not to select the C# > Web > Visual Studio 2012 sub folder.
MVC 5 is already built into Visual Studios 2013.
Open a new project, on the left make sure you are under Templates > Visual C# > Web not Templates > Visual C# > Web > Visual Studios 2012.
Important: Now look near the top of the new project dialog box and select .NET 4.5 or higher. Once under web and the proper framework is selected click ASP.NET Web Application in the middle pane. Click OK
This will bring you to a page where you can select MVC as the project and start the wizard.
Go File -> New Project.
Select Web under Visual C#.
Select ASP.NET Web Application
Click OK.
Select MVC.
Click OK.
With respect to other answers, it's not always there. Sometimes on setup process people forget to select the Web Developer Tools
.
In order to fix that, one should:
- Open
Programs and Features
find Visual Studios related version there, click on it, - Click to
Change
. Then the setup window will appear, - Select
Web Developer Tools
there and continue to setup.
It will download or use the setup media if exist. After the setup windows may restart, and you are ready to have fun with your Web Developer Tools
now.
Go File -> New Project.
Select Web under Visual C#.
Select ASP.NET Web Application
select mvc
when solution is created, you will find resources getting added in solution in status bar of vs 2013.
Check property of Dll file --> system.web.mvc, it shows latest version (5.2.2.0)
but depending on your OS runtime version will be decided.