icsharpcode / ilspy-vscode

ILSpy Visual Studio Code Extension and Service for Decompiling .NET Assemblies
MIT License
145 stars 30 forks source link

There is no way to choose a dll that is referenced in the workspace, but the file is not in the workspace. #30

Open fjqingyou opened 5 years ago

fjqingyou commented 5 years ago

csproj


<Project .........>
  <ItemGroup>
    <Reference Include="xxxxxx">
      <HintPath>/Applications/(xxxxxxx).app/Contents/Managed/(xxxxxx).dll</HintPath>
    </Reference>
  </ItemGroup>
  ........
</Project>

use command

ilspy:decompile il assembly in current workspace not have (xxxxxx).dll in item list view

jeremymeng commented 5 years ago

Unfortunately the extension doesn't have any knowledge about projects.

Some idea that might help: add another command that allows users to choose a certain directory then provides a list of dlls under that directory (recursively) as candidates for decompilation. The performance is a concern though: image the "/" is being selected...

fjqingyou commented 5 years ago

@jeremymeng

this is a Unity Project, it's a game developer engine!

fjqingyou commented 5 years ago

is runing Mac OS. HintPath tag context is a absolute path

fjqingyou commented 5 years ago

en .only mac os, Window i don't know!