Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Copies the recipe’s declared checkout inputs before a cold CMake invocation.

API: engine
Project: Inno.Build.Toolchains

public static System.Threading.Tasks.Task<Inno.Build.Toolchains.NativeCMakeSource> Inno.Build.Toolchains.NativeCMakeExecutor.PrepareSourceAsync(Inno.Build.Toolchains.NativeBuildContext context, Inno.Build.Toolchains.NativeComponentDescriptor component, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter context: The producer scope supplied by NativeArtifactPublisher while holding its intermediate lease.

Parameter component: The sole owner of the intermediate source copy.

Parameter cancellationToken: Cancels copying before the source candidate is installed.

The same prepared input descriptor for subsequent invocations in this producer scope.

Exception T:System.InvalidOperationException: No recipe scope exists or an input changed during copying.

Exception T:System.OperationCanceledException: Copying was canceled before publication.

Exception T:System.ArgumentNullException: The context or component is null.