Skip to content

Commit bdff556

Browse files
Workaround for msbuild issue in host tests (#77850)
Co-authored-by: Elinor Fung <[email protected]>
1 parent 96c24ea commit bdff556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/installer/tests/TestUtils/DotNetCli.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public Command Exec(string command, params string[] args)
5353
newArgs.Insert(0, command);
5454

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

0 commit comments

Comments
 (0)