Intellisense not working

后端 未结 16 1986
滥情空心
滥情空心 2020-12-25 13:29

I am opening files from a server ASP.net and the VB codebehind files, and my visual studio is not working correctly, Intellisense is dead and if i right click the \"Go to

16条回答
  •  不知归路
    2020-12-25 14:04

    In my case, none of the above worked (although I discovered that sometimes the *.suo file is the trouble maker - in those cases deleting it helps).

    I fixed it successfully the following way: Let's assume your solution has the name MySolution. Do the following:

    1. Reset the settings (as described here). Close Visual Studio 2012.
    2. Locate the file MySolution.sln.DotSettings (it is in the same folder as your MySolution.sln file)
    3. Rename or delete it (for example rename it to XMySolution.sln.DotSettingsX so VS won't read it)
    4. Open your solution by double-clicking on the MySolution.sln file

    And afterwards Intellisense was working again just fine. I assume the file MySolution.sln.DotSettings got corrupted.

    Note: The file MySolution.sln.DotSettings was created and checked in to TFS by a team colleague who had installed ReSharper. The issue occurred on a different PC without ReSharper where the same project was opened.

提交回复
热议问题