Synced
NativeBuildContext
Section titled “NativeBuildContext”
- Identifies the checkout, configuration and frozen initial inputs owned by one native build operation. Create a new context for each operation; changes during its lifetime fail stability verification.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public sealed class Inno.Build.Toolchains.NativeBuildContextMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | NativeBuildContext.Constructor | Creates a build context without consulting the tool assembly’s checkout. |
| Methods | NativeBuildContext.BeginInputVerification | Starts a fresh verification phase whose reads can be shared only within this derived context. |
| Methods | NativeBuildContext.GetNativeBuildRoot | Resolves native intermediates under the owning toolchain project in this checkout. |
| Methods | NativeBuildContext.RecordBindingBatch | Records one complete binding batch executed by the borrowed provider. |
| Methods | NativeBuildContext.RecordBindingGeneration | Records one actual bridge or managed generator invocation. |
| Methods | NativeBuildContext.RecordManagedProcess | Records a managed SDK process owned by generator extension preparation. |
| Methods | NativeBuildContext.RecordOutputRead | Records one full artifact output read without treating it as an input snapshot hash. |
| Methods | NativeBuildContext.RequireBindingGenerator | Requires generation to be configured explicitly before creating staging or launching tools. |
| Methods | NativeBuildContext.RequireBindings | Requires the target binding generation prepared for an explicitly declared Native owner. |
| Methods | NativeBuildContext.RequireComponentOptions | Requires product configuration for the exact component before its recipe or tools execute. |
| Methods | NativeBuildContext.RequireToolchain | Requires an explicit selection before a component can build or start a native tool. |
| Methods | NativeBuildContext.WithBindingGenerator | Borrows a generator while preserving this operation’s input and tool ownership. |
| Methods | NativeBuildContext.WithBindings | Creates a scoped operation with an immutable, explicitly prepared target binding closure. |
| Methods | NativeBuildContext.WithComponentOptions | Scopes one component’s explicit product configuration without changing the frozen SDK. |
| Methods | NativeBuildContext.WithConfiguration | Selects an explicit component configuration while borrowing this operation’s frozen SDK and input state. |
| Methods | NativeBuildContext.WithToolchain | Attaches a provider’s immutable tool selection while preserving this operation’s input ownership. |
| Properties | NativeBuildContext.configuration | Gets the normalized debug or release configuration prepared by this operation. |
| Properties | NativeBuildContext.engineRoot | Gets the frozen physical checkout used for every source, intermediate and output path. |
| Properties | NativeBuildContext.statistics | Gets actual hashing and native execution work accumulated by this operation and its scoped contexts. |
| Properties | NativeBuildContext.toolchain | Gets the explicit frozen target compiler and SDK selection, or null before composition resolves it. Browser toolchains resolve their own workload-specific SDK independently. |