Skip to main content

Configuring Eazfuscator.NET with a Standalone Configuration File

Article ID: KB100043Published: September 11, 2023


There are situations when you need to obfuscate a pre-built .NET assembly or use a specific obfuscation configuration that is not a part of the compiled assembly. Eazfuscator.NET supports a standalone configuration file option that may be helpful in both scenarios. The configuration is performed in a familiar declarative fashion using System.Reflection.ObfuscateAssemblyAttribute and System.Reflection.ObfuscationAttribute custom attributes.

--configuration-file command-line option of Eazfuscator.NET allows you to specify a path to the standalone obfuscation configuration file.


Please follow the instructions below to tune the settings of your .NET project so that Eazfuscator.NET is configured with --configuration-file command-line option. Instructions depend on a way Eazfuscator.NET is integrated with the project:

  1. Locate the shell script that invokes command: …
  2. Add --configuration-file command-line option as shown below: … --configuration-file <file-path>


This article applies to:

  • Eazfuscator.NET 4.2 or higher. Earlier versions do not support --configuration-file command-line option