Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto add to toolbox of custom controls in visual studio

In Visual Studio 2008 there is a feature that automatically adds a toolbox pane and adds the custom controls which are in my web application project or in a class library in my current solution.

On another pc this is not working and I would like to know which setting I have to enable, probably in Tools | Options..., for this.

I am not looking for answers like: right click on the toolbox and then choose Add items.. I know how to do this but I am looking for the autodetect and add functionality in Visual Studio 2008 and to enable it on another pc.

like image 561
Nyla Pareska Avatar asked Oct 07 '09 20:10

Nyla Pareska


People also ask

How do I add components to Toolbox in Visual Studio?

Right-click in the Toolbox, and from the pop-up menu choose Customize Toolbox, Add/Remove Items, or Choose Items (depending on the version of Visual Studio).

How do I populate my Toolbox in Visual Studio?

From the Tools menu, click the Options item. Click General under the Windows Forms Designer item and ensure that the AutoToolboxPopulate option is set to True.


1 Answers

Hmm, I'm not sure if if this is what you are looking for, but in the Options dialog under the Windows Forms Designer item you can find a property in the grid that is called AutoToolboxPopulate.

Set it to true to let VS automatically add your custom controls to the tool box.

like image 190
Frank Bollack Avatar answered Sep 21 '22 04:09

Frank Bollack