Reference required to assembly '<assemblyidentity>' containing type '<typename>', but a suitable reference could not be found due to possible circular references: <referencedependencylist>

An expression uses a type, such as a class, structure, interface, enumeration, or delegate, that is defined outside your project. However, your project reference to that assembly is part of a set of circular references.

When several projects have references among themselves, the references can be circular. For example, two projects can have references to each other. More generally, a chain of references from one project to the next can ultimately return to the starting project. In such cases, there is no final project at the end of the chain with which to resolve the reference.

To access a type defined in another assembly, the Visual Basic compiler must have a reference to that assembly. This must be a single, unambiguous reference that does not cause circular references among projects.

Error ID: BC30962

To correct this error

  • In your project properties, add a direct reference to the project producing the assembly that defines the type you are using.

See Also

Tasks

How to: Add or Remove References in Visual Studio (Visual Basic)

How to: Modify Project Properties and Configuration Settings

Troubleshooting Broken References

Concepts

Project References

Other Resources

Referencing Namespaces and Components