dnSpyEx / dnSpy

Unofficial revival of the well known .NET debugger and assembly editor, dnSpy
GNU General Public License v3.0
6.92k stars 455 forks source link

How could I add dll files as dependencies? #359

Closed ShoelessTom closed 1 week ago

ShoelessTom commented 1 month ago

Description

image For example, if I have a dll file I want to add to this thing, how can I do so. or is this not possible? Alot of programs I want to decompile and edit require me to add some missing dependencies to compile the edited version. So my question is is there a way to do so or is there no way to add dependencies?

ElektroKill commented 1 month ago

Hi, this can be done when editing using the C# edit dialog.

image

This button shown in the image allows the selection of an arbitrary DLL on the disk while the button next to it allows the selection of an assembly from the GAC which includes the basic framework assemblies.