Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add MVC5 to Visual Studio 2013?

People also ask

Can I use .NET Core in Visual Studio 2013?

Yes, it's possible to build against the . NET Core 5 contracts in Visual Studio 2013 by creating a Portable Class Library that targets . NET Framework 4.5 and Windows 8.

How do I create a web API project in Visual Studio 2013?

Step 1: Open Visual Studio 2013 then seelct "File" -> "New" -> "Project..." as in the following: Step 2: The New Project dialog will display as in the following: Step 3: Select the location and enter the project name. Click OK.


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.

  1. Open a new project, on the left make sure you are under Templates > Visual C# > Web not Templates > Visual C# > Web > Visual Studios 2012.

  2. 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

  3. 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.

New Project Dialog

Select MVC.

Click OK.

ASP.Net Dialog


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:

  1. Open Programs and Features find Visual Studios related version there, click on it,
  2. Click to Change. Then the setup window will appear,
  3. 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.