How can I deny "Attempting to get a view from an adapter in the TextDocDataAvailable state" in Visual Studio 2013?

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 ...

+4
source share
3 answers

This happened to me when I edited User / AppData / Roaming / Nuget / Nuget.config while Visual Studio was open. Having done this, tp's attempts to close Visual Studio or open the NuGet Extension Manage led to this error dialog. I decided by killing the devenv.exe process and restarting Visual Studio.

+4
source

, exe , - .

devenv.exe.

+1

I liked being a little late to the party ... but FWIW - I had the same problem, and I managed to close VS2015 by switching from the current tab to another tab, and then closing VS2015 and restarting. I just think it's better not to kill processes manually if you don't need it. :-)

+1
source

Source: https://habr.com/ru/post/1618468/


All Articles