Synced
NativeLinkPlan.GetFileExtension
Section titled “NativeLinkPlan.GetFileExtension”
- Resolves an explicitly supported linkage format before staging or generation begins.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public string Inno.Build.Toolchains.NativeLinkPlan.GetFileExtension(Inno.Build.Toolchains.NativeLibraryKind kind)Parameters
Section titled “Parameters”Parameter kind: The component’s requested linkage.
Returns
Section titled “Returns”The selected file extension; unsupported linkage fails immediately.
Exceptions
Section titled “Exceptions”Exception T:System.NotSupportedException: The platform does not contribute this linkage format.
Exception T:System.ArgumentOutOfRangeException: The linkage kind is not defined.