Synced
BuildApplication.Run
Section titled “BuildApplication.Run”
- Runs one build command without taking ownership of the caller’s cancellation source.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Cli
Declaration
Section titled “Declaration”public static System.Threading.Tasks.Task<int> Inno.Build.Cli.BuildApplication.Run(string[] arguments, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter arguments: The command and its documented options; help prints the supported command names.
Parameter cancellationToken: Cancels owned work and preserves completed publications according to their pipeline contracts.
Returns
Section titled “Returns”Zero on success, two on cancellation, or one on a command or execution failure.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The argument array is absent.