Synced
StandardBuildEnvironment.ResolveManagedHost
Section titled “StandardBuildEnvironment.ResolveManagedHost”
- Resolves the managed SDK executable without selecting a native tool target or preparing a product.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Distribution.Standard
Declaration
Section titled “Declaration”public static string Inno.Build.Distribution.Standard.StandardBuildEnvironment.ResolveManagedHost(string? dotnetHost = null)Parameters
Section titled “Parameters”Parameter dotnetHost: Explicit executable, or null to use DOTNET_HOST_PATH and then the currently loaded runtime’s installation. Normal executable discovery is used only when there is no shared runtime installation.
Returns
Section titled “Returns”The absolute existing managed SDK executable selected for this operation.
Exceptions
Section titled “Exceptions”Exception T:System.IO.FileNotFoundException: The selected SDK executable is unavailable.
Exception T:System.PlatformNotSupportedException: No standard execution host is registered for this system and processor.