StandardBuildEnvironment.Capture
Section titled “StandardBuildEnvironment.Capture”
- Resolves the selected managed host and captures execution capabilities at the composition boundary.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Distribution.Standard
Declaration
Section titled “Declaration”public static Inno.Build.Composition.BuildCompositionContext Inno.Build.Distribution.Standard.StandardBuildEnvironment.Capture(string applicationDirectory, Inno.Build.BuildTargetId toolsTarget, string? dotnetHost = null, string? nativeDependencies = null)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”A frozen execution context; publication targets must be selected independently.
Exceptions
Section titled “Exceptions”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.