Modified the build script to generate the lzma archive without the nupkgs. Modified the configurer to upsert NuGet.Config with the fallback folder info and to extract the fallback folder. Added unit tests for all this. Next step: update E2E tests.

This commit is contained in:
Livar Cunha 2017-03-30 00:11:17 -07:00
parent 3634da519a
commit a46237784e
12 changed files with 181 additions and 254 deletions

View file

@ -173,8 +173,9 @@ namespace Microsoft.DotNet.Cli
{
var environmentProvider = new EnvironmentProvider();
var commandFactory = new DotNetCommandFactory(alwaysRunOutOfProc: true);
var nugetConfig = new NuGetConfi();
var nugetCachePrimer =
new NuGetCachePrimer(commandFactory, nugetPackagesArchiver, nugetCacheSentinel);
new NuGetCachePrimer(nugetPackagesArchiver, nugetCacheSentinel, nugetConfig);
var dotnetConfigurer = new DotnetFirstTimeUseConfigurer(
nugetCachePrimer,
nugetCacheSentinel,