Could not bind to dependency 'assembly'

One of your project's references itself contains an assembly reference (dependency) that was located but is not a valid assembly. This error will not prevent the project from building. However, a run-time error is possible.

This situation implies that the following three conditions are all true:

  • There is more than one file on your disk with the same name.

  • One of the files is not an assembly, but the other is.

  • Your references path first searches the directory that contains the file that is not an assembly.

To correct this error

See Also

Tasks

Troubleshooting Broken References

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

Other Resources

Assemblies in the Common Language Runtime