forked from de4dot/de4dot
-
Notifications
You must be signed in to change notification settings - Fork 1
Compiling de4dot
0xd4d edited this page Apr 23, 2012
·
15 revisions
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
Download de4dot source code and my Mono.Cecil fork. Extract cecil code to a cecil sub dir inside the de4dot source dir.
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.
Use VS2010. VS2008 could work but I never tried it. VS2005 won't work since it doesn't support C# 'var'.