4

After installing VS 2017 any of my .cshtml files are shown correctly in the editor. I tried uninstalling/installing again and nothing happened. I did all options for a similar problem on another thread without any results.

enter image description here

Other files are working fine, and I haven't found any other problem in my VS installation. I have the Enterprise Edition with last update.

Carlos Toledo
  • 2,519
  • 23
  • 23

1 Answers1

0

One time I faced this issue and I tried below steps.

  1. Close Visual Studio
  2. Delete the solution user options file (.suo)
  3. Re-open the solution in Visual Studio

Or try to delete ComponentModelCache from %LOCALAPPDATA%\Microsoft\VisualStudio\14.0\ComponentModelCache

Ajay
  • 6,418
  • 18
  • 79
  • 130
  • No this didn't worked. I have installed 2017 at least 5 times to test different options. I might have to reinstall Windows from zero. – Carlos Toledo May 08 '18 at 20:42