Share via


The base class '<class name>' could not be loaded

This error is often preceded by the error The designer inspected the following classes in the file:.

The class was not referenced in the project, so Visual Studio could not load it.

To correct this error

  • Add a reference to the class in the project, and close and reopen the Windows Forms Designer window.

See Also

Reference

The designer inspected the following classes in the file: