Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

PlayerSupportPackPreparationIdentity.CaptureAsync

Section titled “PlayerSupportPackPreparationIdentity.CaptureAsync”
  • Captures Native declarations, selected binding inputs, the managed graph and explicit packaging inputs.

API: engine
Project: Inno.Build.SupportPacks.Core

public static System.Threading.Tasks.ValueTask<Inno.Build.SupportPacks.PlayerSupportPackPreparationIdentity> Inno.Build.SupportPacks.PlayerSupportPackPreparationIdentity.CaptureAsync(Inno.Build.Toolchains.NativeBuildContext context, Inno.Build.Toolchains.ProductNativeBuildPlan nativePlan, Inno.Build.Toolchains.DotNetSdkDescriptor sdk, string project, System.Collections.Generic.IReadOnlyDictionary<string, string> properties, System.Collections.Generic.IReadOnlyList<string> preparationInputs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter context: The borrowed operation with a frozen SDK and binding input provider.

Parameter nativePlan: The exact product component closure used by preparation.

Parameter sdk: The selected managed SDK also used for the actual Player build.

Parameter project: The existing Player entry project whose graph supplies managed sources.

Parameter properties: The compiler and product properties used by the managed preparation build.

Parameter preparationInputs: The complete explicit platform layout, template, validator and preparation implementation inputs.

Parameter cancellationToken: Cancels input evaluation and hashing without publishing a Pack.

A frozen identity; no Native compilation, binding generation or Player build is executed.

Exception T:System.ArgumentNullException: A required operation or input declaration is null.

Exception T:System.InvalidOperationException: The selected source, SDK or generator input graph cannot be resolved.

Exception T:System.OperationCanceledException: Input capture was canceled.