Fixed the failing windows tests by pointing to a NuGet.Config during restore. The issue there was that when NuGet finds a package in the fallback folder, it does not copy it to the packages folder when --packages is specified. Also, to avoid collateral changes during tests, set APPDATA env variable when running the first run experience tests.
This commit is contained in:
parent
347bd4b1fe
commit
dee8725fd2
2 changed files with 6 additions and 2 deletions
|
@ -30,6 +30,7 @@ namespace Microsoft.DotNet.Tests
|
|||
.WithWorkingDirectory(testDirectory);
|
||||
command.Environment["HOME"] = testNuGetHome;
|
||||
command.Environment["USERPROFILE"] = testNuGetHome;
|
||||
command.Environment["APPDATA"] = testNuGetHome;
|
||||
command.Environment["DOTNET_SKIP_FIRST_TIME_EXPERIENCE"] = "";
|
||||
command.Environment["SkipInvalidConfigurations"] = "true";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue