Share via


Excluding Assemblies

Assemblies may be excluded by name. When an assembly is excluded, all types and members within any of the assembly’s modules are excluded. It makes sense to exclude an assembly when you have a scenario like the following:

  • Assembly A should be Dotfuscated.
  • Assembly B should not be Dotfuscated.
  • Assembly B depends on assembly A

In other words, A provides services to B and no one else. You want the references to A embedded inside B to be Dotfuscated, so you include B in the same run as A, but you exclude B from renaming.

<assembly>
 <file dir="c:\projects\project1\" name="ExcludedLib.dll"/>
</assembly>

© 2002-2007 PreEmptive Solutions. All rights reserved.