Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Resolves the selected managed host and captures execution capabilities at the composition boundary.

API: engine
Project: Inno.Build.Distribution.Standard

public static Inno.Build.Composition.BuildCompositionContext Inno.Build.Distribution.Standard.StandardBuildEnvironment.Capture(string applicationDirectory, Inno.Build.BuildTargetId toolsTarget, string? dotnetHost = null, string? nativeDependencies = null)

Parameter applicationDirectory: The product or tool’s installed location used for source provisioning.

Parameter toolsTarget: The native target explicitly selected for executable build tools, independently of exported games.

Parameter dotnetHost: An explicit SDK executable, or null to use DOTNET_HOST_PATH, the loaded shared runtime’s muxer, then normal executable discovery when this process has no shared runtime installation.

Parameter nativeDependencies: An absolute consume-only dependency selection, or null for local source preparation.

A frozen execution context; publication targets must be selected independently.

Exception T:System.PlatformNotSupportedException: The distribution has no build execution integration for this system or processor.

Exception T:System.IO.FileNotFoundException: The selected managed SDK host cannot be located.