My colleagues and I are using VS2012 for some weeks now. Sometimes after working several hours the intellisense is broken. After closing all open tabs it works again.
Are there more people out there having the same problem? It can't be an extension problem because I have the same problem at home. Maybe there is a workaround for this?
for VS2013 - ASP.NET MVC 5 Project, an easy way to fix this was to unload and reload the specific project.
None of the above worked for me. When examining closer, I noticed that intellisense worked on some files but not on all files. And then discovered it was only one file. Finally opened the .proj file which contained:
Of course intellisense doesn't work on the file that is not marked as to be compiled.
I should first note that this hasn't happened to me since upgrading my RAM to 16GB.
This seems to happen when I copy/paste controls on a page. Another side affect of this is that the designer.vb file is not updated right away and I don't have access to those controls in code behind.
This is the order of steps that I go through:
In Visual Studio:
If this doesn't work, here's a few more steps to try:
For C++ projects:
MSDN has a few things to try: MSDN suggestions
The corrupt
.ncb
file seems most likely.From MSDN:
.ncb
file..ncb
file.)(I haven't yet figured out why more drastic steps are required in some cases.)