@@ -440,7 +440,7 @@ public void TestDefaultCSharpAutoBuilder()
440
440
actions . RunProcess [ "cmd.exe /C dotnet --info" ] = 0 ;
441
441
actions . RunProcess [ @"cmd.exe /C dotnet clean C:\Project\test.csproj" ] = 0 ;
442
442
actions . RunProcess [ @"cmd.exe /C dotnet restore C:\Project\test.csproj" ] = 0 ;
443
- actions . RunProcess [ @"cmd.exe /C dotnet build --no-incremental C:\Project\test.csproj" ] = 0 ;
443
+ actions . RunProcess [ @"cmd.exe /C dotnet build --no-incremental /nodeReuse:false C:\Project\test.csproj" ] = 0 ;
444
444
actions . FileExists [ "csharp.log" ] = true ;
445
445
actions . FileExists [ @"C:\Project\test.csproj" ] = true ;
446
446
actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
@@ -468,7 +468,7 @@ public void TestLinuxCSharpAutoBuilder()
468
468
actions . RunProcess [ "dotnet --info" ] = 0 ;
469
469
actions . RunProcess [ @"dotnet clean C:\Project/test.csproj" ] = 0 ;
470
470
actions . RunProcess [ @"dotnet restore C:\Project/test.csproj" ] = 0 ;
471
- actions . RunProcess [ @"dotnet build --no-incremental C:\Project/test.csproj" ] = 0 ;
471
+ actions . RunProcess [ @"dotnet build --no-incremental /nodeReuse:false C:\Project/test.csproj" ] = 0 ;
472
472
actions . FileExists [ "csharp.log" ] = true ;
473
473
actions . FileExists [ @"C:\Project/test.csproj" ] = true ;
474
474
actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
@@ -907,7 +907,7 @@ public void TestSkipNugetDotnet()
907
907
actions . RunProcess [ "dotnet --info" ] = 0 ;
908
908
actions . RunProcess [ @"dotnet clean C:\Project/test.csproj" ] = 0 ;
909
909
actions . RunProcess [ @"dotnet restore C:\Project/test.csproj" ] = 0 ;
910
- actions . RunProcess [ @"dotnet build --no-incremental --no-restore C:\Project/test.csproj" ] = 0 ;
910
+ actions . RunProcess [ @"dotnet build --no-incremental /nodeReuse:false --no-restore C:\Project/test.csproj" ] = 0 ;
911
911
actions . FileExists [ "csharp.log" ] = true ;
912
912
actions . FileExists [ @"C:\Project/test.csproj" ] = true ;
913
913
actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
@@ -939,7 +939,7 @@ public void TestDotnetVersionNotInstalled()
939
939
actions . RunProcess [ @"scratch/.dotnet/dotnet --info" ] = 0 ;
940
940
actions . RunProcess [ @"scratch/.dotnet/dotnet clean C:\Project/test.csproj" ] = 0 ;
941
941
actions . RunProcess [ @"scratch/.dotnet/dotnet restore C:\Project/test.csproj" ] = 0 ;
942
- actions . RunProcess [ @"scratch/.dotnet/dotnet build --no-incremental C:\Project/test.csproj" ] = 0 ;
942
+ actions . RunProcess [ @"scratch/.dotnet/dotnet build --no-incremental /nodeReuse:false C:\Project/test.csproj" ] = 0 ;
943
943
actions . FileExists [ "csharp.log" ] = true ;
944
944
actions . FileExists [ "test.csproj" ] = true ;
945
945
actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
@@ -975,7 +975,7 @@ public void TestDotnetVersionAlreadyInstalled()
975
975
actions . RunProcess [ @"scratch/.dotnet/dotnet --info" ] = 0 ;
976
976
actions . RunProcess [ @"scratch/.dotnet/dotnet clean C:\Project/test.csproj" ] = 0 ;
977
977
actions . RunProcess [ @"scratch/.dotnet/dotnet restore C:\Project/test.csproj" ] = 0 ;
978
- actions . RunProcess [ @"scratch/.dotnet/dotnet build --no-incremental C:\Project/test.csproj" ] = 0 ;
978
+ actions . RunProcess [ @"scratch/.dotnet/dotnet build --no-incremental /nodeReuse:false C:\Project/test.csproj" ] = 0 ;
979
979
actions . FileExists [ "csharp.log" ] = true ;
980
980
actions . FileExists [ "test.csproj" ] = true ;
981
981
actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
@@ -1008,7 +1008,7 @@ private void TestDotnetVersionWindows(Action action, int commandsRun)
1008
1008
actions . RunProcess [ @"cmd.exe /C scratch\.dotnet\dotnet --info" ] = 0 ;
1009
1009
actions . RunProcess [ @"cmd.exe /C scratch\.dotnet\dotnet clean C:\Project\test.csproj" ] = 0 ;
1010
1010
actions . RunProcess [ @"cmd.exe /C scratch\.dotnet\dotnet restore C:\Project\test.csproj" ] = 0 ;
1011
- actions . RunProcess [ @"cmd.exe /C scratch\.dotnet\dotnet build --no-incremental C:\Project\test.csproj" ] = 0 ;
1011
+ actions . RunProcess [ @"cmd.exe /C scratch\.dotnet\dotnet build --no-incremental /nodeReuse:false C:\Project\test.csproj" ] = 0 ;
1012
1012
actions . FileExists [ "csharp.log" ] = true ;
1013
1013
actions . FileExists [ @"C:\Project\test.csproj" ] = true ;
1014
1014
actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
0 commit comments