From 8d2671168ee9d9852f36c757508db34fde8f4b17 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Wed, 22 Apr 2026 15:53:19 -0700 Subject: [PATCH 1/2] Revert "Enable /graph in CI builds, dev builds, and PR builds (#53607)" This reverts commit 8b1618b7c32401b2f7eb6f924104b1ff3bd49b1c. --- eng/build.ps1 | 1 - eng/build.sh | 1 - eng/pipelines/templates/jobs/sdk-build.yml | 4 +--- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/eng/build.ps1 b/eng/build.ps1 index b78275e400c1..40116f7ca870 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -47,7 +47,6 @@ if ($pack) { if ($properties) { $arguments += " " + ($properties -join " ") } $arguments += " /tlp:summary" -$arguments += " /graph" $env:DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT = "true" diff --git a/eng/build.sh b/eng/build.sh index 9ca16665fb24..a4fc955ac08d 100644 --- a/eng/build.sh +++ b/eng/build.sh @@ -39,7 +39,6 @@ fi arguments+=("/p:SkipUsingCrossgen=$skip_crossgen") arguments+=("/p:SkipBuildingInstallers=$skip_installers") arguments+=(/tlp:summary) -arguments+=(/graph) export DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT="true" . "$ScriptRoot/common/build.sh" "${arguments[@]}" diff --git a/eng/pipelines/templates/jobs/sdk-build.yml b/eng/pipelines/templates/jobs/sdk-build.yml index 7d395c946674..3c9f292cc157 100644 --- a/eng/pipelines/templates/jobs/sdk-build.yml +++ b/eng/pipelines/templates/jobs/sdk-build.yml @@ -100,7 +100,6 @@ jobs: ${{ parameters.runtimeSourceProperties }} ${{ parameters.officialBuildProperties }} /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) - /graph displayName: 🟣 Build env: BuildConfig: $(buildConfiguration) @@ -125,8 +124,7 @@ jobs: ${{ parameters.osProperties }} \ ${{ parameters.runtimeSourceProperties }} \ ${{ parameters.officialBuildProperties }} \ - /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) \ - /graph + /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) displayName: 🟣 Build env: BuildConfig: $(buildConfiguration) From 142edfafcf698063f057a32cfc4446c631d699c8 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Wed, 22 Apr 2026 15:54:44 -0700 Subject: [PATCH 2/2] Add back the build.ps1/.sh changes for local builds --- eng/build.ps1 | 1 + eng/build.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/eng/build.ps1 b/eng/build.ps1 index 40116f7ca870..b78275e400c1 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -47,6 +47,7 @@ if ($pack) { if ($properties) { $arguments += " " + ($properties -join " ") } $arguments += " /tlp:summary" +$arguments += " /graph" $env:DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT = "true" diff --git a/eng/build.sh b/eng/build.sh index a4fc955ac08d..9ca16665fb24 100644 --- a/eng/build.sh +++ b/eng/build.sh @@ -39,6 +39,7 @@ fi arguments+=("/p:SkipUsingCrossgen=$skip_crossgen") arguments+=("/p:SkipBuildingInstallers=$skip_installers") arguments+=(/tlp:summary) +arguments+=(/graph) export DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT="true" . "$ScriptRoot/common/build.sh" "${arguments[@]}"