Synced
BuildDistribution.TryResolveNativeToolchain
Section titled “BuildDistribution.TryResolveNativeToolchain”
- Checks whether this distribution contributes an SDK for an explicitly requested binding target. A standalone binding definition may describe a target without registering a product publisher.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Composition
Declaration
Section titled “Declaration”public bool Inno.Build.Composition.BuildDistribution.TryResolveNativeToolchain(string targetId, out Inno.Build.Toolchains.INativeToolchainProvider? provider)Parameters
Section titled “Parameters”Parameter targetId: The exact target identity; no host-derived target is substituted.
Parameter provider: The borrowed SDK provider when registered, or null when the distribution has no such contribution.
Returns
Section titled “Returns”True when the target has an explicit SDK contribution; false does not imply SDK-free configuration.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The target identity is empty.