Tom Kidd
Tom Kidd

Reputation: 12918

Can I fix corrupt Visual Studio 2008 toolbars/windows without having to reinstall?

I think my local install of Visual Studio 2008 has gone a bit scooters.

Anyone know of a good way to fix or "reset" everything in VS2008 without having to resort to a reinstall?

Upvotes: 0

Views: 824

Answers (3)

the_mandrill
the_mandrill

Reputation: 30862

A conflation of a few of the other suggestions here that won't trash all your settings:

  • Under Tools/Import and Export settings, save all of your current settings
  • Close VS and go to the command line and do devenv /resetsettingsD
  • Start VS and in Tools/Import and Export settings, load in the settings you just exported, but uncheck the option to restore the window positions

There's also a VS2008 hotfix that fixes a window positioning bug that I think is related (and can often lead to a crash). I think it's this one

Upvotes: 0

demoncodemonkey
demoncodemonkey

Reputation: 11957

In the Customize dialog, on the Toolbars tab, there's a Reset button. Try this first.

Then there's a [Window->Reset Window Layout] command. Try this second.

If it's still the same you could try the following command (as specified here):

devenv.exe /resetsettings

Failing that you would have to try deleting some of the VS stored data files, in here:

%appdata%\Microsoft\VisualStudio\9.0

however that could be risky and is your last resort.

If it still happens then you should reinstall.

If it still happens after reinstalling then you should reformat ;)

Upvotes: 2

Ahmad Mageed
Ahmad Mageed

Reputation: 96547

2 things you can try:

1) Window menu -> Reset Window Layout

or

2) Close Visual Studio, and then delete the .suo file in your project folder. Re-open your project and all settings should be reset. This is the Studio User Options file. You might want to make a backup copy of it if you don't like the results.

Upvotes: 5

Related Questions