Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio is waiting for internal operation to complete

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.

like image 352
Producenta Avatar asked Feb 15 '15 20:02

Producenta


2 Answers

There are also some steps, like to clean different cache you can follow, but it hasn't solved my problem… Check this blog post.

The important part of it:

There could be many reasons behind this. Few common fixes are below:

  1. Remove website cache from following location: C:\Users\%USERNAME%\AppData\Local\Microsoft\WebsiteCache
  2. Restart IIS: Start → RUN → iisreset
  3. Go to Tools → Options and browse all the options and disable all unnecessary options.
  4. Clear cache.
  5. Remove temp files.
  6. Ensure there is enough space in C (System) drive.

Update 2017-01-03
There are also ASP.NET caches in C:\Windows\Microsoft.NET framework folders, but this is rather for website or debug cache problems. When in the mentioned folder, search for "Temporary ASP.NET Files" in sub-directories and delete their content. If some files are locked, then iisreset should help.

like image 36
Juri Avatar answered Sep 18 '22 17:09

Juri


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

like image 110
Thassae Santos Avatar answered Sep 18 '22 17:09

Thassae Santos