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 | C#
{count} votes

Accepted answer
  1. Viorel 122.6K 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 Answers by the question author, which helps users to know the answer solved the author's problem.