Follow this tutorial to register NCover from the command line using the NCover.Registration command.
- Open a new instance of the command line.
- Type the following (providing your license key) and hit enter:
NCover.Registration //license [KEYCODE]
- Confirm output similar to what is shown here:
Activating ... (0% complete)
Retrieving license from NCover server... (10% complete)
Verifying license key... (50% complete)
Activating license key... (75% complete)
Confirming license key activation... (90% complete)
Installing license... (95% complete)
Successfully activated NCover.
This technique can also be used in a batch script, MSBuild