Skip to content

Commit 6df313b

Browse files
authored
Merge pull request #15509 from hvitved/csharp/node-reuse-dependency-fetching
C#: Disable msbuild node reuse in dependency fetcher
2 parents b039328 + fa3130c commit 6df313b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNetCliInvoker.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ private ProcessStartInfo MakeDotnetStartInfo(string args)
3131
};
3232
// Set the .NET CLI language to English to avoid localized output.
3333
startInfo.EnvironmentVariables["DOTNET_CLI_UI_LANGUAGE"] = "en";
34+
startInfo.EnvironmentVariables["MSBUILDDISABLENODEREUSE"] = "1";
35+
startInfo.EnvironmentVariables["DOTNET_SKIP_FIRST_TIME_EXPERIENCE"] = "true";
3436
return startInfo;
3537
}
3638

0 commit comments

Comments
 (0)