From a96612bf11ab1ebaaaa21954f987567e3a7a1041 Mon Sep 17 00:00:00 2001 From: Viktor Hofer <7412651+ViktorHofer@users.noreply.github.com> Date: Thu, 27 Aug 2026 08:46:20 +0200 Subject: [PATCH 1/2] Revert "Revert "Add multi-threading option to build response file" (#14851)" This reverts commit 9873fa49dd924071cc0b66efe3480a2e0adea7d7. --- Directory.Build.rsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.rsp b/Directory.Build.rsp index e32f4d6b290..f48a27721de 100644 --- a/Directory.Build.rsp +++ b/Directory.Build.rsp @@ -1 +1 @@ -/verbosity:minimal /m /clp:Summary \ No newline at end of file +/verbosity:minimal /m /clp:Summary /mt From 2ebfa4294bd20bf5e43e720d582e12ae6879a884 Mon Sep 17 00:00:00 2001 From: Viktor Hofer <7412651+ViktorHofer@users.noreply.github.com> Date: Thu, 27 Aug 2026 09:01:23 +0200 Subject: [PATCH 2/2] Update yml entrypoints --- .vsts-dotnet-ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.vsts-dotnet-ci.yml b/.vsts-dotnet-ci.yml index 3bbbb1c9e3d..fcdd480ad72 100644 --- a/.vsts-dotnet-ci.yml +++ b/.vsts-dotnet-ci.yml @@ -42,10 +42,10 @@ jobs: env: Token: $(dn-bot-dnceng-artifact-feeds-rw) - task: BatchScript@1 - displayName: Build (with -mt in stage2) + displayName: Build (with stage2) inputs: filename: 'build.cmd' - arguments: '-ci -test -stage2Argument /mt' + arguments: '-ci -test -stage2' condition: eq(variables.onlyDocChanged, 0) # Task to collect code coverage on Windows. Disabled by default due to being unstable and sometimes it stucks forever # - task: PowerShell@2 @@ -153,10 +153,10 @@ jobs: env: Token: $(dn-bot-dnceng-artifact-feeds-rw) - task: BatchScript@1 - displayName: Build (with -mt in stage2) + displayName: Build (with stage2) inputs: filename: 'build.cmd' - arguments: '-msbuildEngine dotnet -ci -test -stage2Argument /mt' + arguments: '-msbuildEngine dotnet -ci -test -stage2' condition: eq(variables.onlyDocChanged, 0) env: MSBUILDUSESERVER: "1" @@ -235,8 +235,8 @@ jobs: - bash: sudo apt-get update - bash: sudo apt-get install -y libxml2 # Intentionally not running tests - - bash: . 'build.sh' --ci --stage2Argument '/mt' --stage2Argument '/p:BuildAnalyzer=true' - displayName: Build (with -mt in stage2) + - bash: . 'build.sh' --ci --stage2 --stage2Argument '/p:BuildAnalyzer=true' + displayName: Build (with stage2) condition: eq(variables.onlyDocChanged, 0) env: MSBUILDUSESERVER: "1" @@ -351,8 +351,8 @@ jobs: Token: $(dn-bot-dnceng-artifact-feeds-rw) - bash: sudo apt-get update - bash: sudo apt-get install -y libxml2 - - bash: . 'build.sh' --ci --test --stage2Argument '/mt' - displayName: Build (with -mt in stage2) + - bash: . 'build.sh' --ci --test --stage2 + displayName: Build (with stage2) condition: eq(variables.onlyDocChanged, 0) env: MSBUILDUSESERVER: "1" @@ -440,8 +440,8 @@ jobs: arguments: $(Build.SourcesDirectory)/NuGet.config $Token env: Token: $(dn-bot-dnceng-artifact-feeds-rw) - - bash: . 'build.sh' --ci --test --stage2Argument '/mt' - displayName: Build (with -mt in stage2) + - bash: . 'build.sh' --ci --test --stage2 + displayName: Build (with stage2) condition: eq(variables.onlyDocChanged, 0) env: MSBUILDUSESERVER: "1"