Support

 

Use attributes to control the Obfuscation

CodeFort supports the use of attributes to declaratively control which types and members should be included/excluded from the obfuscation.

Start by adding a reference in your project to the assembly "CodeFort.Attributes" or "CodeFort.Attributes.Silverlight" (depending on your type of project). These assemblies are found in the installation folder of CodeFort. The default location for this folder is:

    c:\Program Files\Creatix\CodeFort Free Edition

or,

    c:\Program Files\Creatix\CodeFort Professional Edition

respectively.

To exclude a member, simply put a "DoNotObfuscate" attribute on the member you want to exclude (the namespace is CodeFort.Attributes).

If you want to exclude all members of a type, use the "DoNotObfuscateMembers". If you want to exclude all members of a type, including the type's name itself, use both attributes.

User Comments

Add comment

Add your comment to this page