Could I add a usercontrol as toolbox item into VS2022?

Phillip Nguyen 21 Reputation points
2023-06-15T04:16:04.0133333+00:00

Hi,

I created a custom control in library with .NET Framework 4.8.

After compile it, I can add it as a item of Toolbox in VS2019. But it can not be added into VS2022.

Could anyone please help me to check it?

I attached simple user control project here:

Thanks,

Phillip Nguyen.

Developer technologies | Visual Studio | Extensions
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Developer technologies | C#
Developer technologies | 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.
{count} votes

Answer accepted by question author
  1. Viorel 125.3K Reputation points
    2023-06-15T04:53:40.63+00:00

    If you have a “Windows Forms App (.NET Framework)” project, not a “Windows Forms App”, and add the existing user control project to the solution, and start designing a form, then the user control will appear in Toolbox. You can work on main project and also improve the user control. Did you try this?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.