Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
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.

API: engine
Project: Inno.Build.Composition

public bool Inno.Build.Composition.BuildDistribution.TryResolveNativeToolchain(string targetId, out Inno.Build.Toolchains.INativeToolchainProvider? provider)

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.

True when the target has an explicit SDK contribution; false does not imply SDK-free configuration.

Exception T:System.ArgumentException: The target identity is empty.