MVC template does not appear in Visual Studio 2015

2

I am trying to create an ASP.NET application with the MVC 5 template. However, when I try to choose the template it does not appear.

When I use Visual Studio 2013, it does give me the option to use MVC 5. I already tried using the repair option in the Visual Studio installer, as well as installing the extensions of Microsoft ASP.NET and Web Tools and Microsoft ASP.NET Web Frameworks and Tools 2015 strong>.

I would greatly appreciate your help.

    
asked by José Carlos Loarca Hass 25.03.2016 в 02:30
source

4 answers

1

Remember that when you select a project within the ASP.NET 5 templates you are actually selecting MVC 6

Getting started with ASP.NET MVC 6

To use MVC 5 you should enable the option within the ASP.NET 4.5 template

Missing MVC template in Visual Studio 2015

How to create an MVC 5 project in Visual Studio 2015

To show the template of MVC 5 follow the advice of the link, basically from the installer of the VS2015 remove the option Web developer tools

If after removing the Web developer tools, the ones mentioned here do not appear intact

ASP.NET MVC Projects in Visual Studio 2015 Enterprise Edition?

execute the command

  

devenv / InstallVSTemplates

in this way you will have the templates reinstated

    
answered by 25.03.2016 в 05:14
0

In Visual Studio 2015 use ASP.NET 5 Templates > Web Application .

The project can use MVC 5!

I commented that I had the same confusion, since the help indicates an exclusive MVC template

link

    
answered by 25.03.2016 в 02:36
0

You could try installing the latest version of ASP.NET 5 for Visual Studio ( Microsoft ASP.NET RC1 Update1 ). And before installing it, make sure you have the Microsoft Web Developer Tools installed as they say here

In Visual Studio 2015, the MVC5 and MCV6 project templates have been merged into a single Wizard so when installing this version, I also think it installs or could repair MVC5.

If this does not work for you, you may have to apply drastic measures such as uninstalling it completely and reinstalling it (for trying to do a clean installation)

I hope the first option works for you, luck.

    
answered by 25.03.2016 в 14:07
0

Boys I found was to install the mvc, look at the top mvc step to step in addition to looking at what version of the Net Framework was made. luck  

    
answered by 22.01.2019 в 18:14