Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Workaround for msbuild issue in host tests
  • Loading branch information
elinor-fung authored and github-actions committed Nov 3, 2022
commit 82f57914a65400fe8ffedd726a8ac0fe92462b7b
1 change: 1 addition & 0 deletions src/installer/tests/TestUtils/DotNetCli.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public Command Exec(string command, params string[] args)
newArgs.Insert(0, command);

return Command.Create(DotnetExecutablePath, newArgs)
.EnvironmentVariable("DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER", "1") // https://github.com/dotnet/runtime/issues/74328
.EnvironmentVariable("DOTNET_SKIP_FIRST_TIME_EXPERIENCE", "1")
.EnvironmentVariable("DOTNET_MULTILEVEL_LOOKUP", "0"); // Avoid looking at machine state by default
}
Expand Down