Subclassed control in projected doesn't show up in toolbox

C

CJM

I'm currently working on an assembly that has both forms and controls
in it.

When I create a new control based on UserControl and compile, it shows
up in the toolbox for all forms in this assembly.

When I create a subclassed control (from label in this case), it does
not show up in the toolbox.

I understand you can add it through Add/Remove Items... but then I'm
adding a reference to itself and I get all kinds multiple declaration
errors. I also understand that you can remove the reference after
you're done designing and it all works. This, however, is a pain
because the reference gets added everytime you add the control to a
form. I could deal with this but this control needs to be distributed
within the company to 30 - 50 other developers.

How do I see subclassed controls in the toolbox for the current
assembly without adding a reference to itself?

Thanks,

Corey.
 
C

CJM

Holy smokes.. anybody out there got some info on this bad boy? Or is
this the wrong group to be posting this question to...
 
C

CJM

"Hello... hello... hello
Is there anybody in there
Just nod if you can hear me
Is there anyone at home"

Updated issue: Even when you remove the reference, the assembly stays
in memory once the designer has been opened. I have to shut down VS and
open again to do a full compile.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top