Removing dotnet-core from the NuGet.Config and add --disable-parallel to RestoreTestPackages. It was causing issues when reading global.json in Ubuntu and Fedora

This commit is contained in:
Livar Cunha 2016-05-27 16:42:24 -07:00
parent 3e9a3d2d95
commit ca326cb4ec

View file

@ -83,7 +83,7 @@ namespace Microsoft.DotNet.Cli.Build
CleanNuGetTempCache();
var dotnet = DotNetCli.Stage2;
dotnet.Restore("--verbosity", "verbose")
dotnet.Restore("--verbosity", "verbose", "--disable-parallel")
.WorkingDirectory(Path.Combine(c.BuildContext.BuildDirectory, "TestAssets", "TestPackages"))
.Execute()
.EnsureSuccessful();
@ -101,7 +101,7 @@ namespace Microsoft.DotNet.Cli.Build
var dotnet = DotNetCli.Stage2;
dotnet.Restore(
"--verbosity", "verbose",
"--verbosity", "verbose", "--disable-parallel",
"--fallbacksource", Dirs.TestPackages)
.WorkingDirectory(Path.Combine(c.BuildContext.BuildDirectory, "TestAssets", "TestProjects"))
.Execute()