I have several C# applications that all of a sudden I get the following
error when trying to view the form in visual studio
The base class 'System.Windows.Forms.Form' cannot be designed.
I'm using VS.net 2002 on WinXP Professional.
Any suggestions?
Thanks,
Jon
Jerry Bujas - 26 Aug 2004 17:20 GMT
> I have several C# applications that all of a sudden I get the following
> error when trying to view the form in visual studio
[quoted text clipped - 8 lines]
>
> Jon
I am not sure whether we are talking the same thing here. I had a similar
problem in C++. If you receive this message when trying to open the design
mode of an "h" file, try to comment out all the include statements or
definitions that may appear before the definition of your class, open the
design mode, and then restore the h file.
Jerry
Andy Becker - 27 Aug 2004 14:26 GMT
> I have several C# applications that all of a sudden I get the following
> error when trying to view the form in visual studio
>
> The base class 'System.Windows.Forms.Form' cannot be designed.
Do you have any form inheritance going on, or is this the "stock" stuff?
Best Regards,
Andy
Jon Prisbe - 30 Aug 2004 14:13 GMT
This is stock stuff.
> > I have several C# applications that all of a sudden I get the following
> > error when trying to view the form in visual studio
[quoted text clipped - 6 lines]
>
> Andy