Click to See Complete Forum and Search --> : Control Library generate DLL only when alone project?


bucz
July 27th, 2007, 05:16 AM
I have made some control (MyControl) for my solution in a stand-alone project. When I compile it, I get a working DLL and everything is OK. But as this is a 'developement' version of a control, I want to modify it and test it. So I have made some project for testing the control (ControlTest) .

Now, I have added MyControl project into ControlTest solution and a strange thing happens - when I compile all, I don't get any DLL for the control!. Still, MyControl as a stand-alone solution generates it.

How to handle this? I assume that it doesn't generate DLL on purpose, but how to add this control into Toolbox and to my form then?

JamesSchumacher
July 27th, 2007, 06:28 PM
Did you have the project as a 'project reference'? I believe this compiles the other project as a .NET .module file, in which would be linked directly with your application.