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.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public System.Threading.Tasks.ValueTask<Inno.Build.Toolchains.ManagedBuildExecution> Inno.Build.Toolchains.ManagedBuildInputSnapshot.CreateExecutionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter cancellationToken: Cancels ownership acquisition or verified copying before execution ownership is returned.
Returns
Section titled “Returns”Caller-owned fixed execution inputs. Dispose only after all compiler and source consumers finish.
Exceptions
Section titled “Exceptions”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.