#
Command Line Parameters
Use command-line parameters to protect assemblies, load a project, and configure protection or licensing from your build process.
Generate parameters from your project
In most cases, you can generate parameters from your current project using Command-line → Generate Command-line instead of entering every option manually.
Production builds
Use -licensed to require a licensed full version of .NET Reactor. With a demo version, no files are protected and the command returns exit code 101.
#
Reference overview
Values in square brackets describe the argument to supply. {default} marks the documented default. Use the listed values rather than entering the placeholder text.
#
General Arguments
#
1. General Settings
#
Application behavior
#
Digital certificate
#
Assemblies, signing, and output
#
2. Protection Settings
#
Integrity and decompilation
#
Code protection
#
Obfuscation and public types
#
Renaming exclusions
#
Resources and strings
#
3. Lock Settings
#
Combining locks
#
Evaluation period
#
Expiration date
#
Number of uses
#
License files and loading
#
Concurrent instances
#
Nag screen
#
Actions after expiration
#
4. Dialog Settings
#
Example Combinations
The following commands demonstrate the original combinations for assemblies, projects, keys, and trial settings.
dotNET_Reactor.Console.exe -file "c:\testapp.exe"
dotNET_Reactor.Console.exe -file "c:\testlib.dll" -licensed
dotNET_Reactor.Console.exe -project "c:\projx.nrproj"
dotNET_Reactor.Console.exe -project "c:\projx.nrproj" -masterkeyfile "c:\masterkey.mkey"
dotNET_Reactor.Console.exe -file "c:\testapp.exe" -project "c:\projx.nrproj"
dotNET_Reactor.Console.exe -file "c:\testapp.exe" -project "c:\projx.nrproj" -q -licensed
dotNET_Reactor.Console.exe -file "c:\testapp.exe" -evaluationenable 1 -evaluationtype trial -time 14
dotNET_Reactor.Console.exe -file "c:\testapp.exe" -showloadingscreen 0
#
Related topics
Build Integration Manager · Main panel settings