Synced
NativeDependencyManifest.SelectAsync
Section titled “NativeDependencyManifest.SelectAsync”
- Selects only the archives needed by a declared product and verifies source provenance before downloading.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Inno.Build.Toolchains.NativeDependencyAsset>> Inno.Build.Toolchains.NativeDependencyManifest.SelectAsync(string engineRoot, string selectionPath, string target, string configuration, Inno.Build.Toolchains.ProductNativeBuildPlan plan, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter engineRoot: The current consuming checkout.
Parameter selectionPath: The repository’s exact dependency selection file.
Parameter target: The explicit requested target.
Parameter configuration: The normalized debug or release configuration.
Parameter plan: The current composition’s dependency closure.
Parameter cancellationToken: Cancels source verification.
Returns
Section titled “Returns”The distinct exact assets required for consumption; no downloads or compilation occur.
Exceptions
Section titled “Exceptions”Exception T:System.IO.InvalidDataException: The selection is incomplete, ambiguous, or stale.
Exception T:System.IO.IOException: The selection or source checkout cannot be read.