2

I have a Visual Studio 2008 .NET Framework 2.0 project that I'm building. It has some custom components. These are not populated into the Toolbox. Why not?

I once added a custom user control to the box, and it auto added all my components. But, when I restarted Visual Studio 2008, it failed to auto populate the components that are part of the project.

Any idea on how to get them to auto populate? Seems like a VS2008 bug.

1 Answer 1

5

It is an option. Tools + Options, Windows Forms Designer, General, AutoToolboxPopulate must be set to True.

enter image description here

3
  • I have that option set to true. Yet, it doesn't auto populate the list. It only did this once, when I added a user control, it added all the components I already had created. But, when I restarted Visual Studio 2008, they went away.
    – Michael T
    Nov 7, 2010 at 20:38
  • I dunno, time to reset it. Right-click + Reset. Rebuild your project. Nov 7, 2010 at 20:41
  • Well, a rebuild all added them in, so I'll mark this as answered. Still seems kind of buggy. Thanks for your help.
    – Michael T
    Nov 7, 2010 at 20:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.