Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
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.

API: engine
Project: Inno.Build.Toolchains

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)

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.

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.