NativeBindingProfile.Constructor
Section titled “NativeBindingProfile.Constructor”
- Creates a target profile without discovering an SDK or executing a generator.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Bindings
Declaration
Section titled “Declaration”public Inno.Build.Bindings.NativeBindingProfile.NativeBindingProfile(string targetId, BGCS.Configuration.TargetConfiguration target, BGCS.Core.Targets.ManagedRuntimeId? runtime = null, System.Collections.Generic.IEnumerable<string>? inputPaths = null, System.Action<BGCS.BindingHostBuilder>? configureGenerator = null, BGCS.Core.BindingImportMode? importMode = null)Parameters
Section titled “Parameters”Parameter targetId: The engine target identity that may consume this profile.
Parameter target: The official BGCS native target selection.
Parameter runtime: The official BGCS managed runtime selection.
Parameter inputPaths: Checkout-relative implementation inputs owned by this profile.
Parameter configureGenerator: An immutable platform-owned registration action for official BGCS extensions, or null for the standard SDK. The action must not capture mutable state; its implementation and extension assemblies participate in input identity.
Parameter importMode: The platform’s official import mechanism, or null to preserve the component choice.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: An identity is empty, uses implicit host selection, or a path escapes the checkout.