Udostępnij za pośrednictwem


The designer could not be shown for this file because none of the classes within it can be designed

This error occurs when Visual Studio cannot find a base class that satisfies designer requirements. Examples include: Visual Studio cannot find a designer for the base class; the base class is a class that could not be found or loaded.

To correct this error

  • Forms and controls must derive from a base class that supports designers. If you are deriving from something, such as an inherited form or control, within the project you are working in, you need to make sure the project is built by selecting Build Solution from the Build menu.

See Also

Tasks

How to: Inherit Windows Forms

How to: Prepare and Manage Builds

Other Resources

Windows Forms Visual Inheritance