ConfuserEx for Visual Studio 2015 integrates the free and open source ConfuserEx protector into Visual Studio 2015 for easy automatic obfuscation of release builds and ClickOnce applications.

ConfuserEx can be downloaded from GitHub.

This extension requires the ConfuserEx CLI executable to be present on your system. Provide the path to Confuser.CLI.exe in the ConfuserEx options page in Tools->Options. You can also set the ConfuserEx preset here.

Two new items are added to the Tools menu.

Click "Protect with ConfuserEx" to set the current project for obfuscation after release builds.

Click "Remove ConfuserEx Protection" to stop automatic obfuscation.

 

ClickOnce Applications are also obfuscated before publishing.


Debugging will not work on obfuscated executables or libraries. Use Ctrl+F5 to run without debugging.

 

The method outlined in this guide was very helpful in creating this extension.