Hi
The custom control should show in the ToolBox after it has successfully compiled.
Try rebuilding, making sure there are no errors etc - you should not need a reference. Then check the ToolBox (mine always show up at the top)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Following verbatim the Visual Studio tutorial
https://learn.microsoft.com/en-us/visualstudio/designers/walkthrough-windows-forms-designer
I created the test DemoCalculator Custom Control Project class library. I then create the DemoCalculatorTest forms application.
1) When I Add>Reference, the Reference the Custom Control project does not show up. I manually browse and add the dll, but am unable to add it to the toolbox to use it in designer mode. I've tried difference things, like manually adding click on the control in the Reference dialog, manually adding the control to the toolbox using Choose Items, but nothing works.
Is it possible to create a custom control and use it in designer mode at all?
I am using Visual Studio 2022 V 17.3.6, .NET Framework Version 4.8.04084
Hi
The custom control should show in the ToolBox after it has successfully compiled.
Try rebuilding, making sure there are no errors etc - you should not need a reference. Then check the ToolBox (mine always show up at the top)
I created a Windows Forms Control Library, but the target framework is 4.7.2.
The Windows Forms App is 6.0
I am not sure how to upgrade the Forms Control Library to 6.0
It looks like I've successfully updated the Forms Control Library to .Net 6.0.
Thanks!