Visual Studio 2010 Designer Error on Run

后端 未结 17 713
借酒劲吻你
借酒劲吻你 2021-02-03 21:42

I am using using VS2010 and if I have a form open in designer mode and run my application the designer tab will no longer show the form designer but instead an error will be di

17条回答
  •  悲&欢浪女
    2021-02-03 22:18

    This error occur if the Form class is not a first class in the file, for example if there is some helper class at the beginning of the file.

    To solve this issue, move all other classes except Form class to the bottom of the file.

提交回复
热议问题