Skip to content

Commit 1478709

Browse files
authored
Merge pull request #15491 from tamasvajk/feature/node-reuse-autobuild
C#: Disable msbuild node reuse in autobuild
2 parents 06334ee + 4608550 commit 1478709

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public static BuildScript WithDotNet(IAutobuilder<AutobuildOptionsShared> builde
9494
env = new Dictionary<string, string>{
9595
{ "DOTNET_MULTILEVEL_LOOKUP", "false" }, // prevent look up of other .NET Core SDKs
9696
{ "DOTNET_SKIP_FIRST_TIME_EXPERIENCE", "true" },
97+
{ "MSBUILDDISABLENODEREUSE", "1" },
9798
{ "PATH", installDir + delim + path }
9899
};
99100
}

0 commit comments

Comments
 (0)