Fix dependency loader to resolve highest compatible package versions

features/nuget_autobuild
Matija Koželj 2 years ago
parent 5370ccfd2d
commit a0a9418bd0

@ -286,7 +286,7 @@ public class DependencyLoader
foreach (var dependency in sourceDependencies.Dependencies)
{
await GetPackageDependencies(
new PackageIdentity(dependency.Id, dependency.VersionRange.MaxVersion),
await GetPackageIdentity(new MicroServiceDescriptor { Name = dependency.Id, Version = dependency.VersionRange.ToString() }, cacheContext, logger, repositories, cancelToken),
cacheContext,
framework,
logger,

Loading…
Cancel
Save