How to rebuild the Visual Studio Toolbox?

2019-01-23 12:18发布

问题:

The toolbox in Visual Studio Professional 2008 has somehow ended up with 12 instances of each control. They are just the standard controls, no third party controls, and I have no third party plugins.

Is there a way to rebuild the toolbox to correct this issue with the dupes? I've been living with it for a while, but it's pretty annoying.

回答1:

Did you try right clicking the Toolbox and selecting "Reset Toolbox"?

That should reset it to the defaults.



回答2:

You can also go into the folder "C:\Documents and Settings\\Local Settings\Application Data\Microsoft\VisualStudio\9.0" and delete the *.tbd files. I have had to do this a couple times to get rid of duplicate items and when Reset Toolbox crashes without warning.



回答3:

"Reset Toolbox" didn't work out for me.

Deleting the *.tbd in the following dir on Windows 7x64 worked for me... C:\Users[Current user]\AppData\Local\Microsoft\VisualStudio\10.0



回答4:

Actually I just figured it out. You can right click on the Toolbox and click "Reset Toolbox." this fixed my issue. I'll leave this here in case anyone else has the same problem in the future.



回答5:

Reset toolbox also helped for me to reset DevExpress duplicate controls.