So recently I ran into a problem where editing php files in VS2008 caused the application to die. Usually within a minute of editing the file any click produced a system beep no matter where I clicked. I looked high and low for a modal dialog that could be causing the problem and came up with nothing. Talk about frustrating. The only way out is to end the task with task manager.
Fortunately Matt on Software ran into the same issue and posted a fix. Turns out the problem has to do with the installation of MS Office 2010 beta/rtm. I’m not exactly sure which and don’t really care as long as I can edit my files again!
So to restore VS to all its glory:
- Kill Visual Studio
- Navigate to one of the following directories:
- (32 bit) %programfiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\
- (64 bit) %programfiles(x86)%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\
- RMB and run Setup.exe as Administrator
- Select the repair option