After removing library
option (to get better obfuscation) in the dotfuscator config file, the app is crashing when using a referenced third party assembly.
As explained in Dotfuscator documentation, I exclude this assembly using in the <renaming>
section of the config file :
<excludelist>
<assembly>
<file dir="path_to_assembly" name="assembly_name"/>
</assembly>
</excludelist>
First, it builds correctly even if "path_to_assembly" contains an error... So it seems those lines in the config file are not analyzed by Dotfuscator. Moreother, in the generated Renaming.xml
, we can see that fields, functions, etc... of the assembly have been renamed.
I tried to exclude the assembly using the GUI, but "Check below to exclude specific items" is blank.