Patcher for d4dot that merges all assemblies into the base executable, publicizes classes/fields/methods, unseals classes, and virtualizes methods.
csc.exemust be in your path.ILRepack.exemust be in your path.de4dot.exeorde4dot-x64.exe, and associated dlls are needed for patching.
- Download a compiled version of de4dot. You should be able to get a copy from the build bot here as an artifact.
- Install Build Tools for Visual Studio and add the directory
csc.exeis in to your path. - Install ILRepack and add the directory
ILRepack.exeis in to your path. I just extract the executable from the nupkg directly.
- Run
make.batto compile. - Drop
auto_patcher.exethe same directory as de4dot and run the executable. - Patched versions of de4dot called
de4dotp.exeandde4dotp-x64.exewill be in the same directory. de4dotp.exeandde4dotp-x64.exeare usable without any external dependencies and can be utilized directly as an assembly with other .net code.