Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Provides deterministic host-process and workspace operations shared by native dependency toolchains.

API: engine
Inherits: object
Project: Inno.Build.Toolchains

public static class Inno.Build.Toolchains.ToolchainEnvironment
Kind Element Description
Methods ToolchainEnvironment.CaptureOutputAsync(System.Diagnostics.ProcessStartInfo,System.Threading.CancellationToken) Captures platform tool discovery through the same cancellable process lifecycle as builds.
Methods ToolchainEnvironment.CaptureOutputAsync(System.String,System.Collections.Generic.IReadOnlyList{System.String},System.String,System.Threading.CancellationToken,System.Collections.Generic.IReadOnlyDictionary{System.String,System.String}) Captures a tool’s standard output while forwarding errors and preserving the common process lifecycle.
Methods ToolchainEnvironment.ContainsAny Determines whether a value contains at least one token without regard to casing.
Methods ToolchainEnvironment.DeleteDirectory Deletes one explicitly resolved toolchain output directory when it exists.
Methods ToolchainEnvironment.FindRepoRoot Resolves the repository containing the currently executing toolchain assembly.
Methods ToolchainEnvironment.NormalizeOutputName Normalizes a native artifact name and appends its build configuration.
Methods ToolchainEnvironment.ResolveExecutable Resolves one explicitly selected executable before it becomes a build input.
Methods ToolchainEnvironment.RunAsync(Inno.Build.Toolchains.NativeBuildContext,System.String,System.Collections.Generic.IReadOnlyList{System.String},System.String,System.Threading.CancellationToken) Runs a host-native process with the context’s frozen compiler and SDK selection.
Methods ToolchainEnvironment.RunAsync(Inno.Build.Toolchains.NativeBuildContext,System.String,System.Collections.Generic.IReadOnlyList{System.String},System.String,System.Threading.CancellationToken,System.Collections.Generic.IReadOnlyDictionary{System.String,System.String}) Executes a declared absolute tool with an explicitly resolved SDK environment and records the operation cost.
Methods ToolchainEnvironment.RunAsync(Inno.Build.Toolchains.NativeBuildContext,System.String,System.String,System.String,System.Threading.CancellationToken) Runs a quoted host command with a frozen compiler and SDK environment.
Methods ToolchainEnvironment.RunAsync(System.String,System.Collections.Generic.IReadOnlyList{System.String},System.String,System.Threading.CancellationToken,System.Collections.Generic.IReadOnlyDictionary{System.String,System.String}) Runs a child build with structured arguments, cancellation and hidden windows.
Methods ToolchainEnvironment.RunAsync(System.String,System.Collections.Generic.IReadOnlyList{System.String},System.String,System.Threading.CancellationToken,System.Collections.Generic.IReadOnlyDictionary{System.String,System.String},System.IO.TextWriter,System.IO.TextWriter) Runs a child build with caller-owned output destinations and the shared process retirement protocol.
Methods ToolchainEnvironment.RunAsync(System.String,System.String,System.String,System.Threading.CancellationToken) Runs a child build using a complete argument string, without a shell.
Methods ToolchainEnvironment.TrimConfigSuffix Removes a trailing native debug or release token from an artifact stem.
Methods ToolchainEnvironment.ValidateConfiguration Validates the configuration shared by all native component builds.