Since yesterday I’ve been having weird issue with Visual Studio 2008 SP1 locking up whenever I edit HTML files. Basically, the interface stops responding and any click anywhere within Visual Studio (e.g. Solution Explorer, within the HTML file itself, the menus) causes a system beep – ding!
It’s really annoying obviously and the only workaround is to kill Visual Studio in Task Manager.
Then when you restart Visual Studio it’ll load up the HTML file you were working on, and if you’re not careful it locks up again.
This started happening yesterday, when I uninstalled the Beta of Office 2010 and installed the RC.
Update: I found the solution, thanks to this blog post.
When Visual Studio hangs it spawns a setup process that never exits. The setup.exe is located at:
C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe
All I did was run that setup.exe, and chose Repair. It repaired “Microsoft Visual Studio Web Authoring Component”, and once it was done Visual Studio stopped locking up.