diff --git a/eng/build.ps1 b/eng/build.ps1 index 9a7b2132024e..8f9150183087 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[@]}" diff --git a/eng/pipelines/templates/jobs/sdk-build.yml b/eng/pipelines/templates/jobs/sdk-build.yml index 31f4e171a36d..4a5d3a30e947 100644 --- a/eng/pipelines/templates/jobs/sdk-build.yml +++ b/eng/pipelines/templates/jobs/sdk-build.yml @@ -100,6 +100,7 @@ jobs: ${{ parameters.runtimeSourceProperties }} ${{ parameters.officialBuildProperties }} /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) + /graph displayName: 🟣 Build env: BuildConfig: $(buildConfiguration) @@ -123,7 +124,8 @@ jobs: ${{ parameters.osProperties }} \ ${{ parameters.runtimeSourceProperties }} \ ${{ parameters.officialBuildProperties }} \ - /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) + /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) \ + /graph displayName: 🟣 Build env: BuildConfig: $(buildConfiguration)