I have solution (mySolution) with 2 projects (myDLL and myEXE).
The DLL contains a control (myControl) inheriting from
Windows.Forms.UserControl. The output DLL is created in the dircetory
MySolution\myDLL\bin\debug (the default proposed by VS).
I added myControl to the toolbox, using "browse" and selecting "myDLL.dll".
This is now causing lot of problems. When I open VS, myDLL is locked, and
the compiler cannot overwrite it anymore, even if I do a rebuild.
If I close VS and delete it manually, when I reopen VS the project will
compile and run, but if I open with Designer any Form containing myControl,
then myControl will disappear form these forms and the DLL will be locked.
I cannot remove the control from the tollbox anymore, as the "Delete"
context menu item is disabled. I cannot even Delete the all Tab.
If I open the customize toolbox dialog box, the specified control does not
even appear in the list.
Anybody knows what is going on? Or at least how can I manually remove this
control from the toolbox?
Thanks,
Fabio