'<filename>' cannot be referenced because it is not an assembly

A reference was made to a file that is not a .NET assembly.

Error ID: BC31519

To correct this error

  1. Verify the name and location of the assembly.

  2. Verify that the assembly is not damaged or corrupt.

See Also

Tasks

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

Concepts

Project References