If you’re running Visual Studio 2008, and you install Office 2010 beta on the same machine, you might run into this issue where Visual Studio will freeze randomly. The issue is that the Microsoft Visual Studio Web Authoring Component was for Office 2007, and you need to repair it to work.
All you have to do is run one of the two commands:
C:\Program Files (x86)\Common Files\Microsoft shared\OFFICE12\Office Setup Controller\Setup.exe
C:\Program Files\Common Files\Microsoft shared\OFFICE12\Office Setup Controller\Setup.exe
Big thanks to Martin Hinshelwood.