BrianPeek.com

A Compendium of Random Uselessness
in Search

Slow Toolbox Population in VS2005

Everyone else in the universe has probably already figured this out, but in case they haven't...

I'm currently consulting on a farily large C# project using Visual Studio 2005. By fairly large, I mean about 27 projects in the main solution.

There are over one hundred custom controls contained across these projects. When the application is built and I go to a design surface, VS2005 likes to update the toolbox with every possible drag-and-drop control it can find. As you might imagine, this takes a very long time complete, even on my 3.6GHz dual-core HT processor (Intel 840 EE).

Well, I finally figured out how to stop it from happening: From the IDE's main menu, click Tools -> Options -> Windows Forms Designer -> AutoToolboxPopulate = False . Additionally, there's an option there to turn off the refactor when renaming a control, which also used to piss me off to no end.

So there. You probably already knew this. And if you did, well, screw you for not telling me.

Published Jul 13 2006, 03:57 AM by Brian Peek
Filed under:

Comments

 

Richard Mathis said:

Theres nothing like searching google and immediately finding someone who had already found the solution I was looking for. :)  Thanks!
September 14, 2006 11:04 PM

Leave a Comment

(required)  
(optional)
(required)  
Add

About Brian Peek

Brian is a Microsoft C# MVP who has been actively developing in .NET since its early betas in 2000, and who has been developing solutions using Microsoft technologies and platforms for even longer. Along with .NET, Brian is particularly skilled in the languages of C, C++ and assembly language for a variety of CPUs. He is also well-versed in a wide variety of technologies including web development, document imaging, GIS, graphics, game development, and hardware interfacing. Brian has a strong background in developing applications for the health-care industry, as well as developing solutions for portable devices, such as tablet PCs and PDAs. Additionally, Brian has co-authored the book "Debugging ASP.NET" published by New Riders, and is currently co-authoring a book titled "10 Coding4Fun Projects with .NET for Programmers, Hobbyists, and Game Developers" to be published by O'Reilly in late 2008. Brian also writes for MSDN's Coding4Fun website, contributing articles on a monthly basis.
Copyright (C) 2008 Brian Peek
Powered by Community Server (Commercial Edition), by Telligent Systems