I packed my user controls in a nuget package and published it. When I add a package to the project, the controls are not added to the toolbar.
The Automatically Populate Toolbox setting is set to true (Tools -> Options -> Windows Form Designer
User controls have class attributes, such as:
[ToolboxItem(true)] [ToolboxBitmap(typeof(TextBox))] [DefaultBindingProperty("Text")]
The only way to get controls in the toolbar is to view the dll in the packages folder and add it to the toolbar.
But is there a cleaner way in which controls are automatically added to the toolbar after a package is installed (or updated)?
source share