When I look for my solution, and the main form (frmMain.cs) is in the search results, 2-clicking on the line in the "Find Results" panel, which should take me to the frmMain.cs file, I often just see the empty (although gray , not black) window in the IDE. If I then click on this gray foggy nothing, it will tell me: "Trying to get the view from the adapter in the TextDocDataAvailable state"
Closing VS and reopening it temporarily resolves the problem (I can then double-click the frmMain.cs file and view it normally), but is there any way to prevent this revoltin process from developing at all?
Note: I can also, when this happens, 2-click frmMain.cs in Solution Explorer; this makes the “visual” part of the form visible in the IDE; Then I can right click and select "View Code" and it works. Strange though ...
source
share