Synced
NativeDependencyManifest.ExportAsync
Section titled “NativeDependencyManifest.ExportAsync”
- Exports the selected product’s component generations while the caller retains their reading ownership.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static System.Threading.Tasks.Task<string> Inno.Build.Toolchains.NativeDependencyManifest.ExportAsync(Inno.Build.Toolchains.NativeBuildContext context, Inno.Build.Toolchains.ProductNativeBuildPlan plan, Inno.Build.Toolchains.ProductNativeBuildResult products, string outputDirectory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter context: The producer’s frozen source and toolchain context.
Parameter plan: The product definition used by the producer.
Parameter products: The complete borrowed result, in plan order.
Parameter outputDirectory: An explicit checkout-owned export directory.
Parameter cancellationToken: Cancels unpublished export work.
Returns
Section titled “Returns”The complete selection fragment path; publishing the fragment remains the caller’s responsibility.
Exceptions
Section titled “Exceptions”Exception T:System.IO.InvalidDataException: The source, product closure or exported payload is inconsistent.