diff --git a/src/Connected.Host/DependencyLoader.cs b/src/Connected.Host/DependencyLoader.cs index daddddf..26881fa 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.MaxVersion), + await GetPackageIdentity(new MicroServiceDescriptor { Name = dependency.Id, Version = dependency.VersionRange.ToString() }, cacheContext, logger, repositories, cancelToken), cacheContext, framework, logger,