Skip to content

Local build

Mike Airey edited this page Jan 29, 2022 · 1 revision

Building on a local development machine

For convenience, the build-dev.cmd script can be run on a freshly cloned instance of this repo to automatically build everything.

NOTE: It will not automatically invoke BuildROOTMAPInstaller.nsi.

Prerequisites for running build-dev.cmd are:

  • Windows environment
  • git installed and available on the command line
  • nuget installed and available on the command line
  • powershell installed and available on the command line
  • .NET 6 SDK installed and available on the command line

build-dev.cmd can be passed two optional parameters to set the build configuration (Debug or Release) and version number (a semver-compatible number, no leading 'v').

Example:

> build-dev.cmd Release 0.1.2-foo

Clone this wiki locally