Merge pull request #15509 from hvitved/csharp/node-reuse-dependency-fetching

C#: Disable msbuild node reuse in dependency fetcher
This commit is contained in:
Tom Hvitved
2024-02-02 13:54:53 +01:00
committed by GitHub

View File

@@ -31,6 +31,8 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
};
// Set the .NET CLI language to English to avoid localized output.
startInfo.EnvironmentVariables["DOTNET_CLI_UI_LANGUAGE"] = "en";
startInfo.EnvironmentVariables["MSBUILDDISABLENODEREUSE"] = "1";
startInfo.EnvironmentVariables["DOTNET_SKIP_FIRST_TIME_EXPERIENCE"] = "true";
return startInfo;
}