dnSpyEx / dnSpy

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

Change .NET framework of loaded assembly #367

Open maurodx opened 1 month ago

maurodx commented 1 month ago

Description

Is it possible to change .NET framework runtime for the assembly and patch it? I can't rebuild a project made for .NET 2.0 and i'm trying to swap .NET framework to 4.8 patching EXE and DLL. Is it possible with dnSpy?

GazziFX commented 1 month ago

Right click on module, and set .NET Version image You may also want to change version of reference assemblies(it can still automatically resolve it to new version), here is how image