Dotfuscator User's Guide
Saving a Configuration File from the Command Line

Once you have the command line settings that you want for your application, you can save a configuration file containing those settings by using the /makeconfig option. This takes all your command line options, merges them with your configuration template if you have one, and saves a custom configuration file that you can use for future runs.

Copy Code
dotfuscator -in:my.dll -keep:namespace -enha:on -cont:high -make:new.xml myconfig.xml

The resulting configuration file (new.xml) shows the command line options merged with the options from the original configuration (myconfig.xml):

Configuration File
Copy Code
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE dotfuscator SYSTEM "">
<dotfuscator version="2.2">
        <file dir="." name="my.dll" />
    <file dir="C:\MSProjects\dotfuscatortest\Dotfuscated" />
      <mapoutput overwrite="true">
        <file dir="${configdir}\reports" name="MyMap.xml" />
  <controlflow level="high" />



© 2016 PreEmptive Solutions, LLC. All Rights Reserved.