|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
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
Modify the order in which your project searches directories, looking for references. Seefor more information.