|Dotfuscator > References > Configuration File Reference > Custom Rules Reference > Exclusion Rules > 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 such as the following:
In other words, A provides services to B and no one else. You want the references to A embedded inside B to be obfuscated, so you include B in the same run as A, but you exclude B from renaming or control flow obfuscation.
<assembly> <file dir="c:\projects\project1\" name="ExcludedLib.dll"/> </assembly>