Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

ManagedBuildInputSnapshot.CreateExecutionAsync

Section titled “ManagedBuildInputSnapshot.CreateExecutionAsync”
  • Materializes the operation’s declared repository inputs into an exclusively owned source workspace. Compilers and source extraction must use the returned project and root, never the mutable checkout.

API: engine
Project: Inno.Build.Toolchains

public System.Threading.Tasks.ValueTask<Inno.Build.Toolchains.ManagedBuildExecution> Inno.Build.Toolchains.ManagedBuildInputSnapshot.CreateExecutionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter cancellationToken: Cancels ownership acquisition or verified copying before execution ownership is returned.

Caller-owned fixed execution inputs. Dispose only after all compiler and source consumers finish.

Exception T:System.InvalidOperationException: An input differs from its planned bytes while being copied.

Exception T:System.ArgumentException: The project does not belong to the operation’s source root.