Visual Studio 2015 MVC application template missing

In Visual Studio 2015 when I want to create MVC application there is no MVC option like below enter image description here

Also when I open a .cshtml file look like below (not formatting, not coloring, not intellisense) enter image description here

I tried below suggestions but doesn't resolve

How can I solve ?

Upvotes: 0

Views: 103

Answers (2)

Perdido
Perdido

Reputation: 238

Try update web tools in visual studio 2015 - I had the same problem

Upvotes: 1

Max
Max

Reputation: 866

Maybe you have selected the wrong file editor.

How to set other editor:

  1. Click with your right mouse button on the View/HTML-page.
  2. Click on: Open with...
  3. Click on HTML editor (see image below)

Set the good editor as default:

  • Click on Set as Default (image below)

This problem can occur by clicking on an other editor and clicked by Set as Default.

enter image description here

Upvotes: 0

Related Questions