Dotfuscator User's Guide
Declarative Obfuscation By Assembly

For a complete description of Dotfuscator’s support for Declarative Obfuscation, see Declarative Obfuscation via Custom Attributes.

Enabling or Disabling Declarative Obfuscation

Dotfuscator allows you to switch Declarative Obfuscation on or off for specific input assemblies. If not enabled, Dotfuscator ignores obfuscation related custom attributes.

To enable declarative obfuscation via the configuration file, you add a honorOAs option to each <inputassembly> element.

honorOAs Option Added to an Input Assembly Element
Copy Code
      <inputassembly>
        <option>honoroas</option>
        ...
      </inputassembly>

Stripping Declarative Obfuscation Attributes

To tell Dotfuscator to strip obfuscation attributes via the configuration file, you add a honorOAs option to each <inputassembly> element.

stripOAs Option Added to an Input Assembly Element
Copy Code
      <inputassembly>
        <option>stripoa</option>
        ...
      </inputassembly>
See Also

Advanced Topics

 

 


© 2016 PreEmptive Solutions, LLC. All Rights Reserved.

www.preemptive.com