/de4dot_patcher

Patcher for d4dot that merges all assemblies into the base executable, publicizes classes/fields/methods, unseals classes, and virtualizes methods.

Primary LanguageC#The UnlicenseUnlicense

de4dot_patcher

Patcher for d4dot that merges all assemblies into the base executable, publicizes classes/fields/methods, unseals classes, and virtualizes methods.

Dependencies

  • csc.exe must be in your path.
  • ILRepack.exe must be in your path.
  • de4dot.exe or de4dot-x64.exe, and associated dlls are needed for patching.

Setup

  • 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.exe is in to your path.
  • Install ILRepack and add the directory ILRepack.exe is in to your path. I just extract the executable from the nupkg directly.

Usage

  • Run make.bat to compile.
  • Drop auto_patcher.exe the same directory as de4dot and run the executable.
  • Patched versions of de4dot called de4dotp.exe and de4dotp-x64.exe will be in the same directory.
  • de4dotp.exe and de4dotp-x64.exe are usable without any external dependencies and can be utilized directly as an assembly with other .net code.