Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

StandardBuildEnvironment.ResolveManagedHost

Section titled “StandardBuildEnvironment.ResolveManagedHost”
  • Resolves the managed SDK executable without selecting a native tool target or preparing a product.

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

public static string Inno.Build.Distribution.Standard.StandardBuildEnvironment.ResolveManagedHost(string? dotnetHost = null)

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.

The absolute existing managed SDK executable selected for this operation.

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.