I recently installed Office 2010 on my machine and VS 2008 began freezing up when displaying the source code of aspx pages.
VS would lock down when you clicked or when you moved the cursor using the arrow keys on the Source code view of an aspx page. Once it was locked, all mouse clicks would be followed by the Windows beeping sound that you hear when you try to click outside a dialog window.
One other detail that identifies this specific problem is that when Visual Studio hangs it happens to spawn a Setup process that never exits.
This setup.exe is located in the following directory:
C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe
My problem is extremely similar to the problem this guy was having when he installed Office 2007. He was able to fix his by reinstalling Office 2007. I noticed the setup.exe thing because of his post.
I tried repairing Office 2010 and VS 2008 with no success. So I ended up downgrading to Office 2007. This is the order and weird things I did that worked for me.
1. Uninstall VS 2008
2. Uninstall Office 2010
3. Deleted the following folders:
- C:\Program Files (x86)\Common Files\microsoft shared\OFFICE11
- C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12
- C:\Program Files (x86)\Common Files\microsoft shared\OFFICE14
4. Installed Office 2007
5. Installed VS 2008
6. Ran the windows updates for Office 2007 and VS 2008.