PlayerSupportPackPreparationIdentity.CaptureAsync
Section titled “PlayerSupportPackPreparationIdentity.CaptureAsync”
- Captures Native declarations, selected binding inputs, the managed graph and explicit packaging inputs.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.SupportPacks.Core
Declaration
Section titled “Declaration”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))Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”A frozen identity; no Native compilation, binding generation or Player build is executed.
Exceptions
Section titled “Exceptions”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.