User Controls in winforms project disappear

Posted on 2006-03-22
Last Modified: 2012-06-22
We have a multi project winforms solution under Visual Source Safe 2005.
One project was the UserControl library. We had many issues with every usercontrol disappearing on every form so we moved the usercontrols into the project that contains the forms.
Now one form still loses controls. Other forms do not.
Each developer has been losing the list of controls from the "My User Controls" tab of the toolbox. If we open a usercontrol in design view and save it, it reappears in the toolbox.
Does anyone know what is going on?
Question by:seinc
    LVL 96

    Expert Comment

    by:Bob Learned
    Did you try adding the item to ToolBox manually, and not depend on the IDE to keep track of "My User Controls".  When you do it that way, you can turn off this setting:

    Tools | Options | Windows Form Designer | AutoToolboxPopulate


    Author Comment

    When the controls were a separate project, I did add them manually. Now that they are in the same assembly as the forms, I don't know if that's possible.
    LVL 96

    Accepted Solution

    You can add any control from any assembly to the ToolBox.


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now