Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Exports only locally registered immutable native and binding generations under their existing read leases.

API: engine
Project: Inno.Build.Toolchains

public static System.Threading.Tasks.Task<int> Inno.Build.Toolchains.NativeArtifactTransfer.ExportAsync(string engineRoot, string archivePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken), System.Collections.Generic.IReadOnlySet<string>? selectedArtifacts = null)

Parameter engineRoot: The checkout whose publishers have already verified the selected generations.

Parameter archivePath: The explicit transport file, atomically replaced after complete export.

Parameter cancellationToken: Cancels copying before the completed archive replaces its previous version.

Parameter selectedArtifacts: Optional exact artifact paths relative to the artifacts root. Every selected generation must be exported.

The number of verified generations exported.

Exception T:System.IO.IOException: A registered artifact is damaged, linked, inaccessible or outside its publisher boundary.

Exception T:System.OperationCanceledException: Export was canceled before installation.