User Controls not showing up in the toolbox

前端 未结 29 2177
暗喜
暗喜 2020-12-13 12:21

I have some UserControls that I created in ProjectA. I have ProjectB that has a windows form that I want to put the controls on. Both of these projects are in a single sol

29条回答
  •  再見小時候
    2020-12-13 12:34

    If you've tried following all the other answers and it still doesn't work, the following fixed it for me:

    • Right click on your project containing your control.
    • Select Properties.
    • In the Build settings category, make sure Register for COM interop is checked.

提交回复
热议问题