1

I just created a new ASP.Net Web Application in Visual Studio 2015 Update 1.

Solution > Add New Project > Visual c# > Web > .NET Framework 4.5.2 > ASP.Net Web Application

In the 'Select a Template' dialog, I selected MVC.

In the packages.config file is this line:

  <package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net452" />

However, none of the usual Razor highlighting is working, and I'm not getting any intellisense.

enter image description here

Casey Crookston
  • 13,016
  • 24
  • 107
  • 193

1 Answers1

1

Found the answer here.

Just delete the contents of this directory with Visual Studio closed:

%LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache

weird.

Community
  • 1
  • 1
Casey Crookston
  • 13,016
  • 24
  • 107
  • 193