Synced
IManagedDeploymentCompiler.CompileAsync
Section titled “IManagedDeploymentCompiler.CompileAsync”
- Compiles or publishes the prepared code closure into isolated managed staging.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Managed
Declaration
Section titled “Declaration”System.Threading.Tasks.ValueTask<Inno.Build.Managed.ManagedDeploymentResult> Inno.Build.Managed.IManagedDeploymentCompiler.CompileAsync(Inno.Build.Managed.ManagedDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter request: The immutable prepared project, target, frozen inputs and staging locations.
Parameter cancellationToken: Cancels the publisher and waits for its process tree and output readers to retire.
Returns
Section titled “Returns”Verified output evidence; failed or canceled publication never returns a successful result.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The target is unsupported, required toolchain inputs are absent, or publication fails.
Exception T:System.OperationCanceledException: Publication was canceled and all owned work has stopped.