Synced
NativeBindingGenerationDescriptor.Load
Section titled “NativeBindingGenerationDescriptor.Load”
- Reads and validates the result of a completed component generation request.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static Inno.Build.Toolchains.NativeBindingGenerationDescriptor Inno.Build.Toolchains.NativeBindingGenerationDescriptor.Load(string path)Parameters
Section titled “Parameters”Parameter path: The request-owned descriptor file written after successful generation.
Returns
Section titled “Returns”The selected generation whose managed source and optional bridge are present.
Exceptions
Section titled “Exceptions”Exception T:System.IO.InvalidDataException: The descriptor is missing required output identities or contains unavailable outputs.
Exception T:System.Text.Json.JsonException: The descriptor cannot be read as the current contract.
Exception T:System.IO.IOException: An immutable artifact escapes its declared publisher or traverses a linked directory.