Skip to content
☾☉☽ edited this page Aug 22, 2015 · 15 revisions

Best way to get the source code

This requires git and is recommended since you will always have the latest source code when you pull in the latest changes.

    git clone https://github.com/0xd4d/de4dot.git
    cd de4dot
    git submodule update --init --recursive

Downloading tarballs

If you don't want to use git or can't install it for some reason, you can download the source code. Download de4dot's source code and the correct dnlib code. Extract dnlib code to a dnlib sub directory inside the de4dot source directory. If it fails to compile, make sure you use the same dnlib version that I used. Go to https://github.com/0xd4d/de4dot and you'll see a hex link (eg. dnlib @ dc2d367) to the dnlib version I used. From there you can download the same sources I used.

Compile

Use VS2008 or VS2010. If you use VS2008, you must update the VS version number at the top of the .sln file from 11.00 to 10.00. To debug it with VS2008, remove <supportedRuntime version="v4.0"/> from all App.config files.

Compiling on *nix

If using Mono to compile on *nix systems, run the following command in the de4dot directory:

xbuild /p:PostBuildEvent=

Without /p:PostBuildEvent=, errors will likely occur when executing the post build events (which only copies license files).

Clone this wiki locally