C#: Add /nodeReuse:false to autobuild build command

This commit is contained in:
Tamas Vajk
2024-01-31 14:12:46 +01:00
parent 41cca4711b
commit bcee901fbd
2 changed files with 8 additions and 7 deletions

View File

@@ -272,7 +272,8 @@ namespace Semmle.Autobuild.CSharp
var build = new CommandBuilder(builder.Actions, null, environment);
var script = build.RunCommand(DotNetCommand(builder.Actions, dotNetPath)).
Argument("build").
Argument("--no-incremental");
Argument("--no-incremental").
Argument("/nodeReuse:false");
return
script.Argument(builder.Options.DotNetArguments).