ReSharper references dlls in bin/debug #5

citizenmatt opened this Issue Nov 19, 2012 · 0 comments


None yet
1 participant

citizenmatt commented Nov 19, 2012

Fairly reliable way to reproduce:

  • Project A references a package assembly
  • Project B references the same package assembly
  • Build both, then delete the reference to the package assembly from project B
  • Close and reopen the solution, use the quick-fix to reference the assembly and import a type - this will most likely be the file from bin\debug

ReSharper keeps a list of each assembly it sees, and a list of file locations it's seen the assembly at. The problem is that the order of this list is important - the quick-fix adds a reference to the first location in the list. If that location is bin\debug, you get a bad reference. I can't see what's causing the ordering to collect bin\debug before the assemblies in the project references, but it's a fairly reproducible scenario.

@ghost ghost assigned citizenmatt Nov 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment