Can't add user control in a separate assemly

R

Rami

I manage to add a class in my project namespace, add UserControl inharitance
and after compilation I see its usercontrol representation in the toolbox.
On the other hand if I create the class in a separate project and assembly
which I added to the solution, it doesn't appear there.
Can someone advise please.
Regards
Rami
 
K

kimiraikkonen

I manage to add a class in my project namespace, add UserControl inharitance
and after compilation I see its usercontrol representation in the toolbox.
On the other hand if I create the class in a separate project and assembly
which I added to the solution, it doesn't appear there.
Can someone advise please.
Regards
Rami

Are you adding your library to the solution using "new project" by
adding dll as seperate project? If so, reference the library from your
main (form) project and import to main project to make is usable.

Also if library is in the same project, you should be able to use the
library.

Thanks,

Onur Güzel
 

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