Knowledge - Details
Intellisense stops working in Visual Studio
Date Added: 6/19/2020
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
Disclaimer: Everything on this website is written for my own use. I disclaim any guarantees that the procedures and advice listed here are accurate, safe, or beneficial for anyone else. If you attempt to follow any procedures or advice shared here, you do it at your own risk. Part of IT work is knowing how to recover from problems.