Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Compiles or publishes the prepared code closure into isolated managed staging.

API: engine
Project: Inno.Build.Managed

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))

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.

Verified output evidence; failed or canceled publication never returns a successful result.

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.