Visual Studio 2008 (VS2008 version 9 SP1 on Windows Vista) hangs/freezes every few minutes for over a minute ( sometimes up to 5 minutes ). I can access other parts of the computer while vs2008 is busy. This happened for a few days in January 2013 and about a week ago and now it is happening again.
At first I thought this only happened while debugging so I tried most if not all of the things in these posts:
I thought it had something to do with breakpoints because it seemed to happen when adding/removing breakpoints:
It happens with all breakpoints removed and the program not even running, albeit less often. I can sometimes get this hang to occur by doing nothing with vs2008 other than re-focusing it or scrolling up and down in a .cs file. Speaking of that, it only seems to happen on large files 5000+ lines. I have not replicated the issue on files with say 3000 lines.
I tried deleting .suo file, bin and obj folders, updating everything, rolling back updates, virus scan, spyware scan, memory test, disabling addins, deactivate vs2008 host process, disabling nic, unplugging ethernet, modifying hosts file with 127.0.0.1 crl.microsoft.com and 127.0.0.1 6to4.ipv6.microsoft.com.
As far as the comments about Process Monitor and CreateFile, I had some logs the other day that said something about CreateFile and the result was something other than SUCCESS but today all CreateFile results are SUCCESS.
I have DevExpress controls installed. Since it seems to only happen on larger files I figured it might be a code parsing problem and found several things to disable in the DevExpress options. The hanging seems to happen less often but it still happens.
Any other Ideas/Solutions would be greatly appreciated,
Thanks
More related links:
Update:
I have a ton of these in ProcMon: CreateFile, QueryNetworkOpenInformationFile and CloseFile for C:\Program Files\DevExpress 2011.2\IDETools\System\CodeRush\BIN\PLUGINS\CR_SmartPaste.dll
So I decided to disable CodeRush completely using directions from this link: http://www.devexpress.com/Support/Center/p/Q393455.aspx
So far things seem to be working great....Gotta love solving a question right after posting it... I will leave it for future reference.