2 references to AddPackageCommandUtility
NuGet.CommandLine.XPlat (2)
Commands\PackageReferenceCommands\AddPackageReferenceCommandRunner.cs (2)
315
IList<PackageSource> sources =
AddPackageCommandUtility
.EvaluateSources(originalPackageSpec.RestoreMetadata.Sources, originalPackageSpec.RestoreMetadata.ConfigFilePaths);
317
return await
AddPackageCommandUtility
.GetLatestVersionFromSourcesAsync(sources, logger, packageId, prerelease, CancellationToken.None);