Knowledge - Details


Intellisense stops working in Visual Studio
Date Added: 6/19/2020

I'm editing various cshtml files in Visual Studio. Some of the files have working intellisense but some do not. The files that lack intellisense don't let me hover over words to see a helpful tooltip, don't highlight keywords, and don't autocomplete. Visual Studio just acts like these are simple plaintext files instead of code files.

To fix the problem, close Visual Studio, delete the cache files in this folder (below), and reopen the project. It should immediately work perfectly.

%LOCALAPPDATA%\Microsoft\VisualStudio\14.0\ComponentModelCache



Back to List