DavidSpot Blog

Developer, super curious, a dog lover, sports fan and techie guy

Fix Microsoft Visual Studio is busy waiting for an internal operation to complete

The newest versions of Visual Studio have an annoying bug when you load a solution and the the all IDE freezes and you get a little notification saying "Microsoft Visual Studio is busy waiting for an internal operation to complete".

I tried many things to solve this problem:

  1. Remove website cache from following location: C:\Users\user_name\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.

None of this worked but after some try-error attempts i finally discover the bug, it's was on Solution User Options(.suo) file that had a conflict while I made GetLastest to merge some developments from another colleagues at work.

The solution was to delete the .suo file (basically this is what Visual studio uses to save your selected options per solution, so no harm done when you delete it), the only drawback is that you must set all your prior configurations...

After this, no more "busy visual studio" and you can do the daily dev magic you love :)

Visual Studio Web Development trick - fresh browser on F5

How many times are developing a web app in visual studio and many times when you hit F5 you launch the browser of your choice and sometimes you must manually clean cache and cookies and etc?

There is a trick that you can use to help you: launching your browser in incognito way (chrome browser for me).

Here is how:

Pull down the chevron and click Browse With...

Browse With Menu

Add Chrome from either it's standard or user location:

  • System: C:\Program Files (x86)\Google\Chrome\Application\
  • User: C:\Users\UserName\AppData\Local\Google\Chrome\Application

Then add --incognito as command line switch and name the browser something like "Google Chrome - Incognito."

You can do the same thing with Firefox and Internet Explorer.

Internet Explorer Private mode

Added Internet Explorer Private Mode to Visual Studio