P_US_Holidays_NewYearsDay_English

Obfuscation Reference 29

true) or leave them as is (if false). If you do not specify the /internal argument, all types are unchanged. You can use the make-internal feature to exclude certain types or namespaces.

Example

The following attribute will inject all types from PrivateAssembly.dll into the current assembly. [assembly:Obfuscation(Feature="inject /a:PrivateAssembly.dll")]

Other attribute properties

Exclude

Ignored

ApplyToMembers

Ignored

Targets

Assembly 4.1.10 Change namespace feature

Instruct the obfuscator to change (leading parts) of the a namespace to another namespace. This is typically used to make OEM derivatives or class libraries.

Format

Obfuscation(Feature="change-namespace

/from: /to:") All namespaces that start with the /from argument will be renamed to the /to argument followed by the remainder of the namespace.

Example

The following attribute will change all namespaces that start with MyCompany to MyOem followed by the remainder of the namespace. Obfuscation(Feature="change-namespace /from:MyCompany /to:MyOem") The result: MyCompany » MyOem MyCompany.Forms » MyOem.Forms MyCompany.UI.Controls » MyOem.UI.Controls Another.MyCompany » Another.MyCompany MyCompany2.Forms » MyCompany2.Forms

© 2009 TallApplications BV

Made with FlippingBook HTML5