I have a solution with a Class Library and a Windows Forms App. I added a 'Test' Windows Forms App for testing purposes.
In the 'Test' project the Class Library controls appear in the Toolbox as expected. The controls of the WinForms app only appear after a 'Show All' and are grayed out.
Is it possible to access the controls belonging to the original WinForms application from the Toolbox?
Using Visual Studio Community 2017,
I tried:
- Closing, reopening, cleaning and rebuilding the solution.
- Adding References.
- Restarting Visual Studio.
- 'Reset Toolbox'.
- Checking 'Automatically Populate Toolbox'.
- Changing the WinForms App Output type to Class Library.
Point 6 works so this behavior may actually be by design. It wasn't in the past, so please let me know.