From abc2233dd4fc3bf1afda92ef28eea3d560bb63fc Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Mon, 9 Feb 2026 08:59:38 +0000 Subject: [PATCH] =?UTF-8?q?[arcade]=20Source=20update=209f286dd=20?= =?UTF-8?q?=E2=86=92=2058d7536=20Diff:=20https://github.com/dotnet/arcade/?= =?UTF-8?q?compare/9f286ddee40065ea225611cb43ab0415e48994c2..58d75363f4b03?= =?UTF-8?q?e408aa2502e0db546173be722d4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: https://github.com/dotnet/arcade/commit/9f286ddee40065ea225611cb43ab0415e48994c2 To: https://github.com/dotnet/arcade/commit/58d75363f4b03e408aa2502e0db546173be722d4 [[ commit created by automation ]] --- src/arcade/azure-pipelines-unofficial.yml | 2 +- src/arcade/azure-pipelines.yml | 4 +- src/arcade/eng/Version.Details.props | 4 +- src/arcade/eng/Version.Details.xml | 12 +- .../job/publish-build-assets.yml | 2 +- .../core-templates/job/source-build.yml | 8 +- .../core-templates/post-build/post-build.yml | 4 +- .../templates/variables/pool-providers.yml | 2 +- src/arcade/eng/common/tools.ps1 | 13 +- src/arcade/eng/promote-build.yml | 2 +- src/arcade/eng/validate-sdk.yml | 2 +- src/arcade/global.json | 8 +- .../tools/Sign.props | 1 + .../SignToolTests.cs | 272 +++++++++++------- .../src/BatchSignUtil.cs | 21 +- .../src/Configuration.cs | 98 ++++--- ...rtificateKey.cs => ExplicitSignInfoKey.cs} | 17 +- .../src/FileSignInfo.cs | 5 +- .../src/FileSignInfoEntry.cs | 21 ++ .../Microsoft.DotNet.SignTool/src/SignInfo.cs | 34 ++- .../Microsoft.DotNet.SignTool/src/SignTool.cs | 2 +- .../src/SignToolConstants.cs | 6 + .../src/SignToolTask.cs | 30 +- .../SignCheckResources.Designer.cs | 9 + .../SignCheckResources.resx | 3 + .../Verification/ArchiveVerifier.cs | 12 + .../Verification/Exclusions.cs | 11 +- .../SignatureVerificationResult.cs | 9 + .../SignCheck/SignCheckTask/src/SignCheck.cs | 15 +- .../src/SignCheckResources.Designer.cs | 2 +- .../SignCheckTask/src/SignCheckResources.resx | 2 +- src/source-manifest.json | 38 +-- 32 files changed, 445 insertions(+), 226 deletions(-) rename src/arcade/src/Microsoft.DotNet.SignTool/src/{ExplicitCertificateKey.cs => ExplicitSignInfoKey.cs} (60%) create mode 100644 src/arcade/src/Microsoft.DotNet.SignTool/src/FileSignInfoEntry.cs diff --git a/src/arcade/azure-pipelines-unofficial.yml b/src/arcade/azure-pipelines-unofficial.yml index 887f46d621d6..d63cd797c6c8 100644 --- a/src/arcade/azure-pipelines-unofficial.yml +++ b/src/arcade/azure-pipelines-unofficial.yml @@ -20,7 +20,7 @@ extends: parameters: pool: name: $(DncEngInternalBuildPool) - image: windows.vs2019.amd64 + image: windows.vs2022.amd64 os: windows stages: diff --git a/src/arcade/azure-pipelines.yml b/src/arcade/azure-pipelines.yml index 373ee74dd6b2..123ab961fae4 100644 --- a/src/arcade/azure-pipelines.yml +++ b/src/arcade/azure-pipelines.yml @@ -38,9 +38,11 @@ resources: extends: template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates parameters: + settings: + networkIsolationPolicy: Permissive, CFSClean, CFSClean2 pool: name: $(DncEngInternalBuildPool) - image: windows.vs2019.amd64 + image: windows.vs2022.amd64 os: windows sdl: policheck: diff --git a/src/arcade/eng/Version.Details.props b/src/arcade/eng/Version.Details.props index fcf78f01aa9f..764be49eb1d4 100644 --- a/src/arcade/eng/Version.Details.props +++ b/src/arcade/eng/Version.Details.props @@ -14,8 +14,8 @@ This file should be imported by eng/Versions.props 10.0.100-preview.4.25220.1 - 10.0.0-beta.25608.3 - 10.0.0-beta.25608.3 + 10.0.0-beta.26080.4 + 10.0.0-beta.26080.4 1.1.0-beta.25424.1 1.1.0-beta.25424.1 diff --git a/src/arcade/eng/Version.Details.xml b/src/arcade/eng/Version.Details.xml index 16bce2645e23..b31557fc20e4 100644 --- a/src/arcade/eng/Version.Details.xml +++ b/src/arcade/eng/Version.Details.xml @@ -1,6 +1,6 @@ - + @@ -20,13 +20,13 @@ https://github.com/dotnet/templating 43b5827697e501c442eb75ffff832cd4df2514fe - + https://github.com/dotnet/arcade - 6605fb5db42d56000a040ed7a0736bc505be9743 + b0f891cf7c1febc0ebbae7dd787f8a0b4c0cbc95 - + https://github.com/dotnet/arcade - 6605fb5db42d56000a040ed7a0736bc505be9743 + b0f891cf7c1febc0ebbae7dd787f8a0b4c0cbc95 https://github.com/dotnet/arcade-services @@ -174,4 +174,4 @@ 0a2e291c0d9c0c7675d445703e51750363a549ef - + \ No newline at end of file diff --git a/src/arcade/eng/common/core-templates/job/publish-build-assets.yml b/src/arcade/eng/common/core-templates/job/publish-build-assets.yml index 3437087c80fc..b955fac6e13f 100644 --- a/src/arcade/eng/common/core-templates/job/publish-build-assets.yml +++ b/src/arcade/eng/common/core-templates/job/publish-build-assets.yml @@ -80,7 +80,7 @@ jobs: # If it's not devdiv, it's dnceng ${{ if ne(variables['System.TeamProject'], 'DevDiv') }}: name: NetCore1ESPool-Publishing-Internal - image: windows.vs2019.amd64 + image: windows.vs2022.amd64 os: windows steps: - ${{ if eq(parameters.is1ESPipeline, '') }}: diff --git a/src/arcade/eng/common/core-templates/job/source-build.yml b/src/arcade/eng/common/core-templates/job/source-build.yml index d805d5faeb94..1997c2ae00d7 100644 --- a/src/arcade/eng/common/core-templates/job/source-build.yml +++ b/src/arcade/eng/common/core-templates/job/source-build.yml @@ -60,19 +60,19 @@ jobs: pool: ${{ if eq(variables['System.TeamProject'], 'public') }}: name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')] - demands: ImageOverride -equals build.ubuntu.2004.amd64 + demands: ImageOverride -equals build.azurelinux.3.amd64.open ${{ if eq(variables['System.TeamProject'], 'internal') }}: name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')] - image: 1es-mariner-2 + image: build.azurelinux.3.amd64 os: linux ${{ else }}: pool: ${{ if eq(variables['System.TeamProject'], 'public') }}: name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')] - demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open + demands: ImageOverride -equals build.azurelinux.3.amd64.open ${{ if eq(variables['System.TeamProject'], 'internal') }}: name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')] - demands: ImageOverride -equals Build.Ubuntu.2204.Amd64 + demands: ImageOverride -equals build.azurelinux.3.amd64 ${{ if ne(parameters.platform.pool, '') }}: pool: ${{ parameters.platform.pool }} diff --git a/src/arcade/eng/common/core-templates/post-build/post-build.yml b/src/arcade/eng/common/core-templates/post-build/post-build.yml index 9423d71ca3a2..b942a79ef02d 100644 --- a/src/arcade/eng/common/core-templates/post-build/post-build.yml +++ b/src/arcade/eng/common/core-templates/post-build/post-build.yml @@ -293,11 +293,11 @@ stages: ${{ else }}: ${{ if eq(parameters.is1ESPipeline, true) }}: name: NetCore1ESPool-Publishing-Internal - image: windows.vs2019.amd64 + image: windows.vs2022.amd64 os: windows ${{ else }}: name: NetCore1ESPool-Publishing-Internal - demands: ImageOverride -equals windows.vs2019.amd64 + demands: ImageOverride -equals windows.vs2022.amd64 steps: - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml parameters: diff --git a/src/arcade/eng/common/templates/variables/pool-providers.yml b/src/arcade/eng/common/templates/variables/pool-providers.yml index e0b19c14a073..18693ea120d5 100644 --- a/src/arcade/eng/common/templates/variables/pool-providers.yml +++ b/src/arcade/eng/common/templates/variables/pool-providers.yml @@ -23,7 +23,7 @@ # # pool: # name: $(DncEngInternalBuildPool) -# demands: ImageOverride -equals windows.vs2019.amd64 +# demands: ImageOverride -equals windows.vs2022.amd64 variables: - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - template: /eng/common/templates-official/variables/pool-providers.yml diff --git a/src/arcade/eng/common/tools.ps1 b/src/arcade/eng/common/tools.ps1 index bef4affa4a41..049fe6db994e 100644 --- a/src/arcade/eng/common/tools.ps1 +++ b/src/arcade/eng/common/tools.ps1 @@ -560,19 +560,26 @@ function LocateVisualStudio([object]$vsRequirements = $null){ }) } - if (!$vsRequirements) { $vsRequirements = $GlobalJson.tools.vs } + if (!$vsRequirements) { + if (Get-Member -InputObject $GlobalJson.tools -Name 'vs' -ErrorAction SilentlyContinue) { + $vsRequirements = $GlobalJson.tools.vs + } else { + $vsRequirements = $null + } + } + $args = @('-latest', '-format', 'json', '-requires', 'Microsoft.Component.MSBuild', '-products', '*') if (!$excludePrereleaseVS) { $args += '-prerelease' } - if (Get-Member -InputObject $vsRequirements -Name 'version') { + if ($vsRequirements -and (Get-Member -InputObject $vsRequirements -Name 'version' -ErrorAction SilentlyContinue)) { $args += '-version' $args += $vsRequirements.version } - if (Get-Member -InputObject $vsRequirements -Name 'components') { + if ($vsRequirements -and (Get-Member -InputObject $vsRequirements -Name 'components' -ErrorAction SilentlyContinue)) { foreach ($component in $vsRequirements.components) { $args += '-requires' $args += $component diff --git a/src/arcade/eng/promote-build.yml b/src/arcade/eng/promote-build.yml index ed690454a158..e2693fc36d82 100644 --- a/src/arcade/eng/promote-build.yml +++ b/src/arcade/eng/promote-build.yml @@ -69,7 +69,7 @@ extends: os: windows ${{ else }}: name: NetCore1ESPool-Publishing-Internal - image: windows.vs2019.amd64 + image: windows.vs2022.amd64 os: windows sdl: policheck: diff --git a/src/arcade/eng/validate-sdk.yml b/src/arcade/eng/validate-sdk.yml index 5dd1a0e4d081..4b1cfbd8a0df 100644 --- a/src/arcade/eng/validate-sdk.yml +++ b/src/arcade/eng/validate-sdk.yml @@ -29,7 +29,7 @@ jobs: - template: /eng/common/templates-official/variables/pool-providers.yml@self pool: name: $(DncEngInternalBuildPool) - demands: ImageOverride -equals windows.vs2019.amd64 + demands: ImageOverride -equals windows.vs2022.amd64 preSteps: - checkout: self clean: true diff --git a/src/arcade/global.json b/src/arcade/global.json index 5cbbc0dad8f8..8f5fc8480688 100644 --- a/src/arcade/global.json +++ b/src/arcade/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "10.0.100", + "version": "10.0.101", "rollForward": "latestFeature", "paths": [ ".dotnet", @@ -9,11 +9,11 @@ "errorMessage": "The required .NET SDK wasn't found. Please run ./eng/common/dotnet.cmd/sh to install it." }, "tools": { - "dotnet": "10.0.100" + "dotnet": "10.0.101" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25608.3", - "Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25608.3", + "Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.26080.4", + "Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.26080.4", "Microsoft.Build.NoTargets": "3.7.0" } } diff --git a/src/arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.props b/src/arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.props index 3ff26ef1da29..06147aea7276 100644 --- a/src/arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.props +++ b/src/arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.props @@ -32,6 +32,7 @@ +