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) foreach (var dependency in sourceDependencies.Dependencies)
{ {
await GetPackageDependencies( 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, cacheContext,
framework, framework,
logger, logger,

Loading…
Cancel
Save