views:

96

answers:

2

Anybody else's VS2010 is extremely slow when closing code editor tabs?

Opening a .cs file is instantaneous but closing a tab takes ~8 seconds. I have uninstalled Power Commands and the Productivity Power Tools, the only other installed extensions are ReSharper (disabling it did not help) and the Color Theme Editor. I do have the UI Automation Performance Fix installed.

I tried most suggestions from Visual Studio Optimizations question; made sure the settings are saved locally; disabled the outlining mode; disabled the Anti-Virus -- nothing helps.

Googling only finds generic "VS2010 is a pig" complaints back from the Beta1 times. I even tried installing a few recent hot-fixes from https://connect.microsoft.com/VisualStudio/Downloads (KB2201993, KB2123002, KB2106584, KB981107, B2268081) but nothing seems to help.

Any ideas anybody?

--UPDATE---

Another clue: it only seems to happen for some solutions but not for others! Why would it be solution-specific?!!

+1  A: 

Deleting .suo file helped!

Similar case was reported here but it involved a huge .suo file while mine was <1Mb

Another mention of similar problem can be found here in their case it was the debugger that was impacted.

Thanks to Sysinternals ProcessMonitor for the clue!

zvolkov
+1  A: 

After half a year suffering, I just discovered that adding the project's folder to Security Essentials' excluded files & folders list clears this problem for me. Removing the exclusion brings the problem back.

Ilia Jerebtsov