Project '<projectname1>' makes an indirect reference to project '<projectname2>', which contains '<typename>'
Project '<projectname1>' makes an indirect reference to project '<projectname2>', which contains '<typename>'. Add a project reference to '<projectname2>' to your project.
Code in your project accesses a type defined in another project, but your project does not have a direct reference to the defining project.
The type could be a class, structure, interface, module, or enumeration.
The project that defines the cited type produces an assembly containing the type. If your project does not directly reference the defining project, then the compiler cannot guarantee that the assembly containing the type is in the solution and available for access.
Error ID: BC31532
To correct this error
- Determine which project defines the cited type, and add a project reference to it.
See Also
Tasks
How to: Add or Remove References in Visual Studio (Visual Basic)