Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to rebuild the Visual Studio Toolbox?

Tags:

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.

like image 425
Travis Collins Avatar asked Aug 12 '09 19:08

Travis Collins


People also ask

How do I fix the Toolbox in Visual Studio?

If the Toolbox no longer appears as collapsed along the left side of the Visual Studio IDE, you can add it back by choosing Window > Reset Window Layout from the menu bar.

How do I refresh the Toolbox in Visual Studio?

To do that, right-click on the Toolbox window and select "Reset Toolbox". Visual Studio will go through all the installed packages and reloads components into the Toolbox.

How do I clear my Toolbox?

In the Toolbox, right-click the icon of the item you want to remove. Choose Delete on the shortcut menu.

How do I find the Toolbox in Visual Studio 2022?

To add custom controls to Visual Studio, create a new project (ASP.NET Web Forms, WPF, or WinForms) and open the designer. The toolbox items will only be visible in the designer window. If the toolbox is not visible, click the View menu, and then select the Toolbox option. Now, the toolbox will be displayed.


2 Answers

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

That should reset it to the defaults.

like image 72
Brandon Avatar answered Sep 21 '22 09:09

Brandon


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.

like image 21
Brian Ensink Avatar answered Sep 19 '22 09:09

Brian Ensink