Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Reuses a validated product or builds an isolated candidate and publishes it after input stability checks.

API: engine
Project: Inno.Build.Toolchains

public static System.Threading.Tasks.Task<Inno.Build.Toolchains.NativeBuildProduct> Inno.Build.Toolchains.NativeArtifactPublisher.PublishAsync(Inno.Build.Toolchains.NativeBuildContext context, Inno.Build.Toolchains.NativeBuildRecipe recipe, System.Func<Inno.Build.Toolchains.NativeBuildContext, string, System.Threading.CancellationToken, System.Threading.Tasks.Task> build, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken), System.Func<Inno.Build.Toolchains.NativeBuildContext, string, System.Collections.Generic.IReadOnlyList<Inno.Build.Toolchains.NativeArtifact>>? describeOutputs = null)

Parameter context: Checkout and configuration selected by build composition.

Parameter recipe: The frozen component, target, input inventory and ordered compiler recipe.

Parameter build: Producer receiving an identity-scoped context, private output directory and cancellation token. It must await all work and validate required outputs before returning.

Parameter cancellationToken: Cancels ownership acquisition or candidate preparation before publication.

Parameter describeOutputs: The producer’s exact role inventory, or null for generic support payloads.

A complete native product with an exact, read-only output closure.

Exception T:System.ArgumentException: A component or target identifier is not a single path segment.

Exception T:System.IO.IOException: An input, candidate or artifact cannot be read or published.

Exception T:System.InvalidOperationException: Inputs change during preparation or the producer returns no complete output.

Exception T:System.OperationCanceledException: Ownership acquisition or preparation is canceled; previous products remain installed.