Export (0) Print
Expand All
Expand Minimize

<message> This error could also be due to mixing a file reference with a project reference to assembly '<assemblyname>'

<message> This error could also be due to mixing a file reference with a project reference to assembly '<assemblyname>. In this case, try replacing the file reference to '<assemblyfilename>' in project '<projectname1>' with a project reference to '<projectname2>'.

Code in your project accesses a member of another project, but the configuration of your solution does not allow the Visual Basic compiler 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: BC30971

To correct this error

  1. Determine which project produces the best assembly for your project to reference. For this decision, you might use criteria such as ease of file access and frequency of updates.

  2. In your project properties, add a reference to the project that contains the assembly that defines the type you are using.

Show:
© 2014 Microsoft