Errors in Windows Forms controls in designer view

后端 未结 3 1300
后悔当初
后悔当初 2020-12-11 14:51

On occasion, I get the following error in design mode of some user controls in Visual Studio 2008:

The file \'UserControl.vb\' does not support code

3条回答
  •  佛祖请我去吃肉
    2020-12-11 15:26

    It is a bug in VS. It happens in VS2005 as well.

    Don't waste your time: close VS, open it again and everything should work fine.

提交回复
热议问题