How to put a UserControl into Visual Studio toolBox

前端 未结 10 2199
逝去的感伤
逝去的感伤 2020-11-29 01:02

I made a usercontrol in my project, and after building project, I need to put it in my toolbox, and use it as a common control. but i can\'t. the UserControl is

10条回答
  •  情话喂你
    2020-11-29 01:40

    In my case, I couldn't see any of the controls in the project. Only when right clicking on toolBox and selecting "Show All" I saw them, but yet they were disabled...

    Changing Project type from Windows application to ClassLibrary made the fix.

提交回复
热议问题