Synced
NativeBindingGenerationDescriptor.WriteSelection
Section titled “NativeBindingGenerationDescriptor.WriteSelection”
- Writes the exact native binding identities for a subsequent managed build without reselecting generations. Identical content preserves the existing import timestamp; changed content is installed atomically.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static void Inno.Build.Toolchains.NativeBindingGenerationDescriptor.WriteSelection(string path, System.Collections.Generic.IReadOnlyDictionary<string, Inno.Build.Toolchains.NativeBindingGenerationDescriptor> generations, System.Collections.Generic.IReadOnlyDictionary<string, Inno.Build.Toolchains.NativeLibraryKind> linkage)Parameters
Section titled “Parameters”Parameter path: The MSBuild selection document in an intermediate directory exclusively owned by the caller.
Parameter generations: Explicit checkout-relative native project paths and their complete selected generations.
Parameter linkage: Explicit linkage of each selected component, used by its managed native initialization boundary.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: A project name is unsafe or repeated, or component linkage is invalid or incomplete.
Exception T:System.ArgumentNullException: The generation or linkage closure is null.
Exception T:System.IO.IOException: The selection cannot be read or its complete replacement cannot be installed.