Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating an Empty MVC Project in Visual Studio 2015

I am using VS 2015 Enterprise and I'm trying to create an empty MVC project.

I go into the "Add | New Project..." dialog by right-clicking on the solution. I then select "Web" from the list along the left side and select "ASP.NET Web Application" as shown here:

enter image description here

Next, the following dialog window opens but the checkboxes for "Web Forms", "MVC" and "Web API" are all disabled. Does anyone know why they are disabled and how to enable them? Selecting "Web API" or "Web Application" (instead of "Empty") does not change the checkboxes' state -- they remain disabled.

If I recall correctly I used to be able to create an empty MVC project in VS 2013 with no problem.

enter image description here

like image 781
Tom Baxter Avatar asked Feb 07 '23 15:02

Tom Baxter


1 Answers

You can select Empty template along with MVC checkbox option which will give you MVC web application with empty Model, Views and Controller. enter image description here

like image 120
Sunil Singh Rajawat Avatar answered Feb 12 '23 12:02

Sunil Singh Rajawat