How to fix error loading Visual Studio menu in Visual Studio 2005 beta 2

Some customers have seen an error dialog launching the Visual Studio IDE after uninstalling VS 2005 beta 1 or one of the VS 2005 Community Tech Previews (CTPs). The exact text of the dialog is A problem was encountered loading the Microsoft Visual Studio menu. Please run setup and select Repair. In these scenarios, rerunning setup and trying to repair does not solve the problem.

You can workaround this issue by doing the following:

  1. Launch regedit.exe
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Profile
  3. Rename the entire Profile sub-key
  4. Close regedit.exe and re-run the Visual Studio 2005 IDE
  5. Choose your preferred development profile in the dialog that appears

After choosing a development profile, the IDE should launch normally.

The root cause of this issue is exactly the same as the toolbox issue that I describe in this article.