Command line application

Top  Previous  Next

DeepSea Obfuscator can be invoked as command line application (DeepSea.exe). This is usually only needed for build environments other then the ones mentioned above.

The following arguments can be used:

 

Argument

Description

/Q

Only show warning and error messages. Do not show informational messages.

/V

Show verbose, info, warning and error messages.

/VV

Show all messages (including diagnostics)

/NOGUI

Do not start the graphical application.

/GUI

Run obfuscation in graphical application.

/GO

Run the obfuscation right away. Only relevant in the graphical application.

/SN <keyfile>

Specify a keyfile used to re-sign strong name assemblies

/SNPWD <password>

Specify a password of strong name key (for pfx keys)

/SIGN <certificatefile>

Specify a code signing certificate used to sign the obfuscated assemblies.

/SIGNPWD <password>

Specify a password of the code signing certificate.

/VERIFY

Verify all assemblies

/VERIFY:IL

Verify all assemblies, IL only.

/VERIFY:MD

Verify all assemblies, metadata only.

/XAPEXCLUDE <pattern>

Exclude all assembly parts in a XAP file that match the given pattern from obfuscation.

/XAPINCLUDE <pattern>

Include all assembly parts in a XAP file that match the given pattern in the obfuscation process. Include overrides Exclude and default behavior.

/BASEDIR <dir>

Specify the directory used to resolve all relative paths.

/OUTDIR <dir>

Specify the directory where the obfuscated assemblies are written to.

/REFDIR <dir>

Specify a directory containing reference assemblies. You can specify multiple directories by using multiple arguments or combine directories in a single argument separated by ':'.

/MAPDIR <dir>

Specify the directory where the obfuscation map is written to.

/MAPFILE <file>

File name and folder of the obfuscation map.

This setting overwrites the /MAPDIR argument.

/CONFIGFILE <file>

File name and folder of an external configuration file. The external configuration is used in additional to obfuscation attributes found in the assemblies.

/INPUTMAPFILE <file>

File name and folder of an input map file. Input map files are used to rename types & members to the same name for each obfuscation. Typically used to deploy partial updates.

/OUTFILE <file>

File name and folder of a file to which all (console) output is written.

/REF <file>

Specify an assembly that is used as reference assembly.

/FAILONWARNINGS

Obfuscation will fail when error warnings are raised.

/FAILONEVALUATION

Obfuscation will fail when running in evaluation mode.

<assembly>

Specify one or more assemblies that will be obfuscated.