Missing MVC pattern in Visual Studio 2015

When I create a new web project with Visual Studio, I only see the templates in the image below: missing MVC pattern

There is no MVC, so I can only create empty projects.

I tried repairing Visual Studio, but no luck.

Any suggestions?

+46
visual-studio-2015
Sep 16 '15 at 16:00
source share
10 answers

It just appeared the same problem after installing Microsoft ASP.NET Developer Tools and Web Tools 2015 (Beta7) . I tried reinstalling ASP.NET project templates , but that did not help.

Studying "Add / Remove Programs" → "Visual 2015" → "Change," I found that "Tools for Web Developers" are not checked. This SO answer helps me figure this out.

After reinstalling, everything appears again

enter image description here

+52
Sep 22 '15 at 15:03
source share

Just click “Internet” in the left sidebar and select “ASP.NET Web Application”, click “OK” and you will see the following dialog box:

uV98W.png

Now you can choose the type of web application that you want.

+39
Dec 27 '15 at 22:59
source share

I'm going to add my 2 cents in case someone is in a position like mine. I was also looking for the MVC project type and could not see it. All I saw is the Web Application Project. So I got scared and rushed to all the solutions listed on this page.

But.

THIS IS STRONGLY.

enter image description here

Just go in with the Web Application project and it will give you the MVC option in the next step.

+19
Dec 13 '16 at 22:06
source share

Visual studio 2015 does not display the MVC project template if you select .Net 4.0 or lower. Select .Net 4.5 or higher and you can see the MVC project.

This is what was shown when choosing the .NET Framework 4:

enter image description here

and this is when choosing the .NET Framework 4.5:

enter image description here

However, make sure that you have installed the tools for web developers. To do this, go to "Add / Remove Programs" → "Visual 2015" → "Change" → Web Developer Tools: check and continue the installation.

+9
Jul 09 '16 at 7:22
source share

I don't think the accepted answer works anymore. According to Microsoft here , here , and here , asp.net-5 has been renamed ASP.Net Core . It looks like they have removed asp.net-5 templates from the general ASP.Net Web Application project type. But now there is a new type of project ASP.NET Core Web Application. enter image description here I don’t see the MVC pattern for this type of project, but I don’t think the Core framework is fully released.

+5
Jun 23 '16 at 18:41
source share

I had the same problem with an MVC pattern that does not appear in VS2015.

I tested the web developer tools during the initial installation. It was still checked when trying to change the installation. I tried unchecking and updating the installation, but the next time I returned to Modify, it was still checked. And not yet an MVC pattern.

I started by uninstalling: Microsoft ASP.NET Web Frameworks and Tools 2015 through the Programs and Features windows and reinstalling. Here is a link for those who do not have it.

+3
Jun 15 '16 at 12:35
source share

In my case, this happened when I removed AspNet 5 RC1 Update 1 to update it for .Net Core 1.0 RC2. so I installed the update for Visual Studio 2015 2, the selected Microsoft Web Developer tools, and everything returned to normal.

+2
Jun 02 '16 at 14:28
source share

For me, I have not seen any of the MVC templates (except the bottom two), after installing Update 3, which installed all of the Core materials.

missing mvc

Decision

I uploaded the latest preview ...

corepreview

This prompted me to "restore", and after it was done, the appearance of VS showed that it was "Installing Templates", and they appeared!

Warning

Update 3 is a game in which the “preferred” way of doing things is to use dotnetcore. For example, the console application now uses the new file structure; other projects, such as Test Project, still use the same folder structure as before. But MVC has changed. I'm not even sure that other Web Development Tools work with dotnetcore right now.

+2
Jun 29 '16 at 2:58
source share

write this in the nuget Install-Package Microsoft.AspNet.Mvc -Version 5.2.3 console Install-Package Microsoft.AspNet.Mvc -Version 5.2.3

+1
Jun 27 '16 at 4:44
source share

Visual Studio 2015 (community update 3, in my scenario) uses the default template for the MVC project. You do not need to choose it.

I found this tutorial and I think it answers the question: https://docs.asp.net/en/latest/tutorials/first-mvc-app/start-mvc.html

check old versions of this: http://www.asp.net/mvc/overview/older-versions-1/getting-started-with-mvc/getting-started-with-mvc-part1

http://www.asp.net/mvc/overview/getting-started/introduction/getting-started

Times have changed. Including .NET

+1
Aug 26 '16 at 20:13
source share



All Articles