Synced
NativeToolchainSelection.TryResolveExecutable
Section titled “NativeToolchainSelection.TryResolveExecutable”
- Checks an optional tool capability without discovering a command from the process environment.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public bool Inno.Build.Toolchains.NativeToolchainSelection.TryResolveExecutable(string name, out string executable)Parameters
Section titled “Parameters”Parameter name: The declared tool identity to check.
Parameter executable: The frozen absolute path when present, or an empty string when absent.
Returns
Section titled “Returns”True only when this selection explicitly supplies the requested tool.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The tool identity is empty.