Synced
BuildCompositionContext.Constructor
Section titled “BuildCompositionContext.Constructor”
- Captures the host dependencies used by deployment and Support Pack preparation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Composition
Declaration
Section titled “Declaration”public Inno.Build.Composition.BuildCompositionContext.BuildCompositionContext(string dotnetHost, string applicationDirectory, Inno.Build.Toolchains.BuildHostDescriptor host, Inno.Build.BuildTargetId toolsTarget, string? nativeDependencies = null)Parameters
Section titled “Parameters”Parameter dotnetHost: The SDK executable selected by the host, either an executable path or a command name.
Parameter applicationDirectory: The absolute directory from which source-based Support Pack provisioning can be resolved.
Parameter host: The explicitly declared tool execution machine, independent of any publication target.
Parameter toolsTarget: The explicit native target of tools executed by this composition, independent of game publication.
Parameter nativeDependencies: An absolute dependency selection forbidding third-party production, or null for local source builds.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The SDK command is blank or the application directory is not absolute.