From f3e208410776aa12b073c146fe531e6193c096e4 Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Sat, 16 May 2015 15:59:01 -0500 Subject: [PATCH] (GH-279) Resolve packages on first feed found For aggregate repositories, packages are supposed to be resolved on the first feed it is found on in priority order, no matter if it is the latest version of that package or not. This is how it worked in 0.9.8.x and below and how it should work until v1 when we can switch the default. This fixes the behavior to be what is expected. --- src/chocolatey/infrastructure.app/nuget/NugetCommon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs b/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs index 2a45ac5f54..bddb4e4300 100644 --- a/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs +++ b/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs @@ -80,7 +80,7 @@ public static IPackageRepository GetRemoteRepository(ChocolateyConfiguration con //todo well that didn't work on failing repos... grrr var repository = new AggregateRepository(repositories) {IgnoreFailingRepositories = true}; - //repository.ResolveDependenciesVertically = true; + repository.ResolveDependenciesVertically = true; if (configuration.Debug) { repository.Logger = nugetLogger;