From 3616eb62eae5d50bc8e90b0868f09b35e01d168c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Tue, 31 Jan 2023 13:14:58 +0100 Subject: [PATCH] Set package dependency resolution to max version instead of min version --- src/Connected.Host/DependencyLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connected.Host/DependencyLoader.cs b/src/Connected.Host/DependencyLoader.cs index 793fe77..daddddf 100644 --- a/src/Connected.Host/DependencyLoader.cs +++ b/src/Connected.Host/DependencyLoader.cs @@ -286,7 +286,7 @@ public class DependencyLoader foreach (var dependency in sourceDependencies.Dependencies) { await GetPackageDependencies( - new PackageIdentity(dependency.Id, dependency.VersionRange.MinVersion), + new PackageIdentity(dependency.Id, dependency.VersionRange.MaxVersion), cacheContext, framework, logger,