I have a solution that includes two projects. My main project is a windows form and the other project includes two user controls that I created. I have a test form in the second project, and there I have no problem using the user controls from the toolbox. However, in my main project I cannot use the user controls. I've found various 'solutions' online and tried them all with no success. The problem is, the controls ARE in the toolbox, they are just grayed out. I have:
NOTE: If I create the user control programmatically, it compiles, shows up and works perfectly fine on run! I want it to show up in the designer though and not be gray in the toolbox.
Problem solved by going to the project (with the user controls) and changing the Output type to "Class Library" this builds a dll instead of an exe. Rebuild the solution and controls were in the toolbox.