Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know... How to stop the Toolbox from auto-populating with items found in the solution? - #167

Another co-authored tip with a tip of the day reader.  I admit i didn't know how to do this either, but i get the advantage of asking the developer on the feature directly =)

If you have a solution with lots of projects in it, and you notice the toolbox is taking a long time scanning the solution for all possible toolbox items, you can go to Tools - Options - Windows Forms Designer - General and set AutoToolboxPopulate to false.

AutoPopulateToolbox

Technorati Tags: ,
Posted: Friday, March 07, 2008 3:00 AM by saraford

Comments

jstangroome said:

Hello,

My only question with this setting is, once it is set to False, how do I selectively add components in my solution to the Toolbox?

Regards,

- Jason

# March 7, 2008 8:06 PM

Stanley said:

Sara,

Thanks for this one. I did not ever see that setting and really hate that this is set to True by default. It is annoying to have to keep closing the expanded solution stuff.

# March 10, 2008 8:13 AM

lpope said:

You would have to right-click on the toolbox and "Choose Items", select the assembly and check the controls you want to display.

The other option which I use is to apply the ToolboxItem(false) attribute to the classes you don't want automatically populated.

# March 10, 2008 8:33 AM

Goutami said:

Sara,

Thanks for your tips.

Is there a way to arrange the auto populated assemblies. In our solution we have many projects and all of them get added. It becomes hard to find the right assembly.

# March 11, 2008 5:38 PM

Greg said:

Thank you,thank you, thank you

# March 26, 2008 8:54 AM

xjb said:

# December 29, 2008 10:53 PM
New Comments to this post are disabled
Page view tracker