Could not load type '<type name>'

Complete error message: Please make sure that the assembly containing this type is added to the project references.

Visual Studio attempted to wire up an event-handling method and could not find one or more parameter types for the method. This is usually caused by a missing reference.

To correct this error

  • Add the reference containing the type to the project and try again.

See Also

Tasks

How to: Add and Remove Solution Items