Unable to get a Custom Component to show in tool box .Net 5

Andy 1 Reputation point
2021-07-09T20:55:19.637+00:00

Unable to get a Custom Component to show in tool box .Net 5

For example, UserControl1 : ComboBox , a custom ComboxBox will show.

But, Component1 : Component will not show.

I've tried NuGet packages, still only the "controls" populate, not Components. The ToolBoxItem(true) doesn't work either.

How is this accomplished?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,234 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Zhang-MSFT 9,611 Reputation points
    2021-07-12T02:18:07.67+00:00

    Hi Andy-8783,
    >>If I can see a Component in .Net 5 toolbox like an ErrorProvider,
    You can find the ErrorProvider under Toolbox->Components tab.
    113672-712.png
    And as lextm said that the WinForms designer in .NET Core is still in its preview and currently some features are not yet supported.
    I suggest you use the “Send Feedback” icon in Visual Studio top-right corner as shown in the following image and specify that it is related to the “WinForms .NET Core” area.
    More details please refer to this document.
    Best Regards,
    Daniel Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments