Visual studio is waiting for internal operation to

2020-05-17 01:43发布

I have problem with my Visual studio 2013 Ultimate from few days. I'm trying to open even simplest console application and VS hangs and when I click something else in Visual studio in the bottom right corner shows up Visual studio is busy: Microsoft Visual studio is waiting for internal operation to complete.

I have repaired Visual studio no change, then unistall and install fresh VS and the problem is still there. I also checked for viruses. Everything else in Windows is working properly. I have disabled CodeLens, changed current source control plug-in to None because I found that sometimes this two options hangs vs but there is still no change.

17条回答
▲ chillily
2楼-- · 2020-05-17 01:44

For whats its worth, I remember working with a project that was using git source control, and we discovered that visual studios git client was causing the whole environment to run really really slowly, probably because the project was very large.

Go to Tools->Options->Source Control->Plug-in selection-> Select None from the list.

This improved things greatly for me in the past, hope it can help you!

查看更多
Anthone
3楼-- · 2020-05-17 01:45

I have a solution with many projects. Last night I added a new project to the solution. This morning, the VS15 IDE would freeze up with this error after loading my solution. I tried many of the suggestions in this thread, but none seemed to work.

I removed the new project from the solution, and now everything is working fine. Something must have been corrupted or just plain wrong in my .csproj file. Once it was removed from the .sln everything seemed to work fine again. Now I'll rebuild the new project.

查看更多
爷、活的狠高调
4楼-- · 2020-05-17 01:48

For VS2015 users who are dealing with this problem: close everything, delete the ".vs" folder on the project root and reopen it.

查看更多
走好不送
5楼-- · 2020-05-17 01:48

:)

For this issue, there is no any exact solution. from my experience, there can be lots of reasons for this error. you might fixed this by doing

1 ) deleting the .vs folder in the project file

2 ) Removing the web cache at C:\Users\user_name\AppData\Local\Microsoft\WebsiteCache

3) Clearing the temp files

4) Update/Upgrade or re-installing the vs :(

But, Still you might not found the solution, then the next step should be

UNINSTALL YOU ANTI VIRUS PROGRAM

 specially if you are using Bit Defender / 
 McAfee most probably that will be the reason for the issue ( in my case is 
 was McAfee) 

 If it doesn't work,

 Go for **System restore** 
 (better solution than re-installing the visual studio )

 I solved this issue after uninstalling McAfee anti-virus program.

 Hope this will help you. 
查看更多
闹够了就滚
6楼-- · 2020-05-17 01:49

I meet the same problem in my Win10 PC, then I just fixed it by install Visual Studio update in Tools → Extension → Update → Visual studio 2013 update 5.

After I installed the "Visual studio 2013 Update 5", the problem has gone.

查看更多
该账号已被封号
7楼-- · 2020-05-17 01:50

I've had two things cause this beside the suo/vs folder thing:

  1. A project is checked in with references to files that aren't checked in. For example, a code generator project with T4 templates that spit out 1000 poco's. The .cs files were never meant to be source controlled, but someone accidentally checks in the project with the file includes.
  2. A .csproj merges funny and instead of failing to load the individual project, the entire solution hangs
查看更多
登录 后发表回答