0

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

  • Install web developer tools by Visual Studio setup modification
  • Change .net framework version from project screen
  • devenv.exe /resetuserdata
  • Delete %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache files

How can I solve ?

2
  • 1
    Try update web tools in visual studio 2015 - I had the same problem. Commented Nov 16, 2016 at 14:30
  • Perdido thanks my problem solved. Write your comment as answer I will mark it answer. Commented Nov 16, 2016 at 15:30

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.