Synced
NativeBuildContext.WithToolchain
Section titled “NativeBuildContext.WithToolchain”
- Attaches a provider’s immutable tool selection while preserving this operation’s input ownership.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public Inno.Build.Toolchains.NativeBuildContext Inno.Build.Toolchains.NativeBuildContext.WithToolchain(Inno.Build.Toolchains.NativeToolchainSelection toolchain)Parameters
Section titled “Parameters”Parameter toolchain: The complete selection resolved for the requested target.
Returns
Section titled “Returns”A scoped context sharing input snapshots and statistics with this operation.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The selection is null.