Skip to content

ILSpy can't find referenced library even though it's open #2068

@radobot

Description

@radobot

First of all, I don't know if this is a bug or intended behaviour, but if it's not a bug, then please consider this a feature request.

Steps to reproduce

  1. Make sure that you have a library that references a different library and that they are in completely different places.
  2. Open both libraries.
  3. Expand References tab on the dependent library.
  4. Observe that ILSpy can't resolve the reference even though the exact wanted library is already open.

Error message shown

Error: Could not find reference: ...

Details

  • Product in use: ILSpy binary
  • Version in use: 6.0.0.5836 from the releases page

In the attached screenshot, library "Manipulate channels v2" references "PaintDotNet.Base" (among others). An exact same one is already open (it's the exact same file using which the library was compiled) and yet ILSpy can't find it. To me it seems obvious that this should work because (1) the name and version string match exactly and (2) it was my (the user's) choice to open those specific files so it's safe to assume that I want to use them together.

obrázok

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions