forked from de4dot/de4dot
-
Notifications
You must be signed in to change notification settings - Fork 1
Compiling de4dot
0xd4d edited this page Jul 25, 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 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.