I occassionally write UserControls as part of a project in VS2003 (ie. not in a control library). Handily, the new UserControl automagically shows up in the toolbox in a section called "User Controls" from which I can use the new user control on a form. Very nice.
However, this only happens sporadically. Sometimes, I exit from VS and when I return, lo and behold, the new user control is there in the toolbox. Other times, it never happens. I can add that control manually to the toolbox without any problems and it works fine. It gets a little gear icon which is different from the icon if the IDE adds it automatically.
I have not been able to identify any rhyme or reason to when it does or does not automatically add the user control to the toolbox.
1) Has anyone else observed this behavior? and 2) is there any way to "refresh" or force the IDE to pick up new user controls from a project?
d-
However, this only happens sporadically. Sometimes, I exit from VS and when I return, lo and behold, the new user control is there in the toolbox. Other times, it never happens. I can add that control manually to the toolbox without any problems and it works fine. It gets a little gear icon which is different from the icon if the IDE adds it automatically.
I have not been able to identify any rhyme or reason to when it does or does not automatically add the user control to the toolbox.
1) Has anyone else observed this behavior? and 2) is there any way to "refresh" or force the IDE to pick up new user controls from a project?
d-