Skip to content
0xd4d edited this page Apr 23, 2012 · 15 revisions

Best way to get the source code

git clone git://github.com/0xd4d/de4dot.git
cd de4dot
sed -i 's!git@github\.com:0xd4d/cecil\.git!git://github.com/0xd4d/cecil.git!' .gitmodules
git submodule init
git submodule update

Downloading tarballs

Download de4dot source code and my Mono.Cecil fork. Extract cecil code to a cecil sub dir inside the de4dot source dir.

Creating the strong name key file

In the de4dot root dir:

sn -k de4dot.snk

You'll also need to update the public key in a few InternalsVisibleTo attributes, eg. in de4dot.cui/Properties/AssemblyInfo.cs. Here's how to get your public key from the de4dot.snk strong name key file you created earlier:

sn -p de4dot.snk de4dot.pub
sn -tp de4dot.pub

The longest key it shows (on multiple lines) is your public key.

Compile

Use VS2010. VS2008 could work but I never tried it. VS2005 won't work since it doesn't support C# 'var'.

Clone this wiki locally