Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Requests one binding batch for all generated components of a product.

API: engine
Project: Inno.Build.Toolchains

public static System.Threading.Tasks.Task<Inno.Build.Toolchains.NativeBindingGenerationResult> Inno.Build.Toolchains.NativeBindingPreparation.PrepareAsync(Inno.Build.Toolchains.NativeBuildContext context, System.Collections.Generic.IReadOnlyList<Inno.Build.Toolchains.NativeComponentDescriptor> components, System.Threading.CancellationToken cancellationToken, System.Collections.Generic.IReadOnlyDictionary<string, Inno.Build.Toolchains.NativeComponentBuildOptions>? componentOptions = null)

Parameter context: The operation owning a frozen target selection and configured generator.

Parameter components: The declared component closure; components without bindings are excluded.

Parameter cancellationToken: Cancels generation and drains active work before returning.

Parameter componentOptions: Exact per-owner component choices, or null for component defaults.

An owned generation closure, empty for a product without bindings. Retain it through final consumption.

Exception T:System.InvalidOperationException: The tool selection or required binding generator is absent.