CLI
Installation
Usage
Load custom configuration file
::: tip CLI command accept a --configPath
option, available for all subcommand, to configure the location path of your configuration file. :::
Build command options
Build your solution depending on your configuration or on the given options.
Option | Default value | Description |
|
| Logs the msbuild command that will be executed. |
|
| Specify Build Targets. |
|
| Specify Build Configuration (Release or Debug). |
|
| Specify the Solution Platform (e.g. x86, x64, AnyCPU). |
|
| Specify the .NET Tools-Version (1.0, 1.1, 2.0, 3.5, 4.0, 12.0, 14.0, 15.0, auto). |
|
| Specify the Architecture (x86, x64). |
|
| Specify the amount of information to display in the build output (quiet, minimal, normal, detailed, diagnostic). |
|
| Specify Maximal CPU-Count to use. ( |
|
| Specify whether to enable or disable the re-use of MSBuild nodes (true or false). |
| Suppress Startup Banner and Copyright Message of MSBuild. |
::: tip It also possible to give additional arguments to the msBuild command directly. Just use --
after the command line. :::
With specific paths
From .nscrc
::: tip buildPaths
support glob pattern ! :::
Configuration example:
From args
::: tip --paths
option support glob pattern ! :::
Publish Foundation/Feature/Project only
Publish command options
By default build the solution (eg. Base.sln
) and publish it depending on your configuration or on the given options.
Option | Default value | Description |
|
| Logs the msbuild command that will be executed. |
|
| Specify Publish Targets. |
|
| Specify the solutions or projects you want to publish. |
|
| Specify Build Configuration (Release or Debug). |
|
| Specify the Solution Platform (e.g. x86, x64, AnyCPU). |
|
| Specify the .NET Tools-Version (1.0, 1.1, 2.0, 3.5, 4.0, 12.0, 14.0, 15.0, auto). |
|
| Specify the Architecture (x86, x64). |
|
| Specify the amount of information to display in the build output (quiet, minimal, normal, detailed, diagnostic). |
|
| Specify Maximal CPU-Count to use. ( |
|
| Specify whether to enable or disable the re-use of MSBuild nodes (true or false). |
| Suppress Startup Banner and Copyright Message of MSBuild. |
::: tip It also possible to give additional arguments to the msBuild command directly. Just use --
after the command line. :::
With specific paths
From .nscrc
::: tip publishPaths
support glob pattern ! :::
Configuration example:
From args
::: tip --paths
option support glob pattern ! :::
Publish Foundation/Feature/Project only
::: tip Available options: Foundation
, Feature
or Project
:::
Last updated