Reputation: 4305
I have one dll of usercontrol and I add to it to the references in my project. And now I want to access this usercontrol from toolbox but it does not appear in the toolbox. And I can access them by writing code, but I want it in toolbox and want to use by just dragging it to the form.
Upvotes: 26
Views: 33313
Reputation: 62
The user control must have a default constructor. Otherwise it is not shown in the choose items pop-up. It might be also necessary to rebuild solution to add it to toolbox.
Upvotes: 0
Reputation: 1089
Drag & Drop the dll (from explorer) to the desired category (in VS 2012).
Upvotes: 1
Reputation: 1
Right Click on empty field of toolbox and select "choose item" and then go to your project folder and select your dll file (or EXE file)
Upvotes: 0
Reputation: 829
You need to right click on the toolbox, select "Choose Items.." and browse to the dll containing the control.
Upvotes: 24