The type '<type name>' could not be found

Complete error message: Ensure that the assembly containing the type is referenced. If the assembly is part of the current development project, ensure that the project has been built.

While loading the designer, Visual Studio failed to find a type.

To correct this error

  • Ensure that the assembly containing the type is referenced. If the assembly is part of the current development project, ensure that the project has been built by selecting Build Solution from the Build menu.

See Also

Tasks

How to: Add and Remove Solution Items

How to: Prepare and Manage Builds