From 594bc250a72e18e0caeb1d68632b4842b755d2e1 Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Wed, 6 Jul 2022 10:06:12 -0700 Subject: [PATCH 1/2] Generate VS SBOM during official build. --- azure-pipelines-official.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines-official.yml b/azure-pipelines-official.yml index 01a2c9d024304..575e1d19028af 100644 --- a/azure-pipelines-official.yml +++ b/azure-pipelines-official.yml @@ -190,6 +190,7 @@ stages: /p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory) /p:DotnetPublishUsingPipelines=true /p:IgnoreIbcMergeErrors=true + /p:GenerateSbom=true condition: succeeded() - task: PowerShell@2 From edd682c80a0b6f8b29a29f72e615c7415c6478d9 Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Wed, 6 Jul 2022 12:35:21 -0700 Subject: [PATCH 2/2] Install 3.1 runtime for SBOM tool --- global.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/global.json b/global.json index f0c3da86dc289..1afe335e17923 100644 --- a/global.json +++ b/global.json @@ -6,6 +6,11 @@ }, "tools": { "dotnet": "7.0.100-preview.4.22252.9", + "runtimes": { + "dotnet": [ + "3.1.0" + ] + }, "vs": { "version": "17.0" },