BuildPlatformContribution.Constructor
Section titled “BuildPlatformContribution.Constructor”
- Creates a complete target registration and rejects mismatched source identities immediately.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Composition
Declaration
Section titled “Declaration”public Inno.Build.Composition.BuildPlatformContribution.BuildPlatformContribution(Inno.Build.PlatformTargetDescriptor descriptor, Inno.Build.Composition.BuildTargetFactory factory, Inno.Build.SupportPacks.IPlayerSupportPackSource supportPackSource, Inno.Build.Toolchains.INativeToolchainProvider toolchainProvider, string? editorProject = null, System.Collections.Generic.IReadOnlyList<Inno.Build.Composition.NativeProductContribution>? nativeProducts = null, Inno.Build.Toolchains.INativeBindingGenerator? bindingGenerator = null, System.Collections.Generic.IReadOnlyList<Inno.Build.Managed.ManagedDeploymentId>? managedDeployments = null)Parameters
Section titled “Parameters”Parameter descriptor: The immutable target facts owned by the platform package.
Parameter factory: The authoring target factory for these exact target facts.
Parameter supportPackSource: The matching runtime and compiler input source.
Parameter toolchainProvider: The SDK resolver for this target, independent of the host.
Parameter editorProject: The portable checkout-relative Editor product, or null when no Editor is supported.
Parameter nativeProducts: Explicit product-native plans owned by this target; null declares no ordinary native product build.
Parameter bindingGenerator: The target-owned generator, or null when the contribution generates no bindings.
Parameter managedDeployments: Deployment identities supported by this platform, or null when none is contributed.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: A required contribution is null.
Exception T:System.ArgumentException: A source identity differs from its target, an Editor declaration is inconsistent, native product plans are null or duplicated, or deployment identities are unassigned or repeated.