Synced
NativeBindingCompilation.Load
Section titled “NativeBindingCompilation.Load”
- Reads the current engine-owned compilation description from a selected native output.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static Inno.Build.Toolchains.NativeBindingCompilation Inno.Build.Toolchains.NativeBindingCompilation.Load(string nativeDirectory)Parameters
Section titled “Parameters”Parameter nativeDirectory: The complete selected generation’s native directory.
Returns
Section titled “Returns”The validated description; missing or malformed descriptions fail explicitly.
Exceptions
Section titled “Exceptions”Exception T:System.IO.IOException: The description cannot be read.
Exception T:System.Text.Json.JsonException: The description does not match the current contract.
Exception T:System.IO.InvalidDataException: A root, path or content identity is invalid.