From 1e2b135e336641e2652202be99760866eb82ea8a Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Thu, 19 Nov 2026 02:11:56 +0000 Subject: [PATCH] Update dependencies from build 342150 Updated Dependencies: Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.CMake.Sdk, Microsoft.DotNet.GenFacades, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.RemoteExecutor, Microsoft.DotNet.XUnitV3Extensions (Version 12.0.0-beta.26567.109 -> 12.0.0-beta.26568.110) Microsoft.NET.Sdk.IL, Microsoft.NETCore.App.Ref, Microsoft.NETCore.ILAsm, Microsoft.NETCore.ILDAsm, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, runtime.win-x64.Microsoft.NETCore.ILAsm, System.CodeDom, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Nrbf, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Runtime.Serialization.Formatters, System.Text.Encodings.Web, System.Text.Json, System.Windows.Extensions, runtime.win-x86.Microsoft.NETCore.ILAsm (Version 12.0.0-alpha.1.26567.109 -> 12.0.0-alpha.1.26568.110) [[ commit created by automation ]] --- eng/Version.Details.props | 52 ++++----- eng/Version.Details.xml | 106 +++++++++--------- .../core-templates/steps/astred-artifacts.yml | 55 +++++++-- global.json | 8 +- 4 files changed, 131 insertions(+), 90 deletions(-) diff --git a/eng/Version.Details.props b/eng/Version.Details.props index b15c8b626ac..e7ee3936435 100644 --- a/eng/Version.Details.props +++ b/eng/Version.Details.props @@ -6,32 +6,32 @@ This file should be imported by eng/Versions.props - 12.0.0-beta.26567.109 - 12.0.0-beta.26567.109 - 12.0.0-beta.26567.109 - 12.0.0-beta.26567.109 - 12.0.0-beta.26567.109 - 12.0.0-beta.26567.109 - 12.0.0-beta.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 - 12.0.0-alpha.1.26567.109 + 12.0.0-beta.26568.110 + 12.0.0-beta.26568.110 + 12.0.0-beta.26568.110 + 12.0.0-beta.26568.110 + 12.0.0-beta.26568.110 + 12.0.0-beta.26568.110 + 12.0.0-beta.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 + 12.0.0-alpha.1.26568.110 diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 46b38859541..d2a4a427026 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -6,114 +6,114 @@ Note: if the Uri is a new place, you will need to add a subscription from that p And you can check these with "darc get-dependencies target-repo "winforms" --> - + - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 - + https://github.com/dotnet/dotnet - 33e080b907ba5802f9d074dcb962f5ae75d12357 + 213c38deb6b0d8210c7c4550efa1afa57d016fe2 diff --git a/eng/common/core-templates/steps/astred-artifacts.yml b/eng/common/core-templates/steps/astred-artifacts.yml index 86420925b44..adcf2a9281b 100644 --- a/eng/common/core-templates/steps/astred-artifacts.yml +++ b/eng/common/core-templates/steps/astred-artifacts.yml @@ -9,6 +9,13 @@ parameters: - name: binlogDir type: string default: $(Build.ArtifactStagingDirectory)/AstredCapture/binlogs +- name: compilationDatabaseDir + type: string + default: '' +# Optional Windows setup command to obtain INCLUDE for compilation database imports. +- name: nativeEnvironmentCommand + type: string + default: '' - name: capturePath type: string default: $(Build.ArtifactStagingDirectory)/AstredCapture @@ -17,7 +24,7 @@ steps: - task: AstredInstaller@0 displayName: Install Astred CLI inputs: - Version: '2.14.1' + Version: '2.14.37' FeedUrl: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet-internal-FoSSE/nuget/v3/index.json' - pwsh: | @@ -25,19 +32,51 @@ steps: $apjOut = Join-Path $env:ASTRED_CAPTURE_PATH 'apj' New-Item -ItemType Directory -Force -Path $apjOut | Out-Null - $binlogs = Get-ChildItem -Path $env:ASTRED_BINLOG_DIR -Recurse -Force -Filter *.binlog ` - -ErrorAction SilentlyContinue + $binlogs = @(Get-ChildItem -Path $env:ASTRED_BINLOG_DIR -Recurse -Force -Filter *.binlog ` + -ErrorAction SilentlyContinue) if (-not $binlogs) { Write-Host "##vso[task.logissue type=warning]No binlogs found in $env:ASTRED_BINLOG_DIR. Check the calling job's Astred header configuration for MSBUILDDEBUGENGINE / MSBuildDebugEngine and MSBUILDDEBUGPATH." + } + + $compilationDatabases = @() + if ($env:ASTRED_COMPILATION_DATABASE_DIR) { + if (Test-Path -LiteralPath $env:ASTRED_COMPILATION_DATABASE_DIR -PathType Container) { + $compilationDatabases = @(Get-ChildItem -LiteralPath $env:ASTRED_COMPILATION_DATABASE_DIR ` + -Recurse -Force -File -Filter compile_commands.json) + } + if (-not $compilationDatabases) { + Write-Host "##vso[task.logissue type=warning]No compilation databases found in $env:ASTRED_COMPILATION_DATABASE_DIR. Native code built outside MSBuild will not be captured." + } + } + + if (-not $binlogs -and -not $compilationDatabases) { exit 0 } + if ($compilationDatabases -and $env:ASTRED_NATIVE_ENVIRONMENT_COMMAND) { + $nativeEnvironmentOutput = & $env:ComSpec /d /c "$env:ASTRED_NATIVE_ENVIRONMENT_COMMAND && set INCLUDE" + $nativeEnvironmentExitCode = $LASTEXITCODE + $nativeEnvironmentOutput | Where-Object { $_ -notlike 'INCLUDE*=*' } | + ForEach-Object { Write-Host $_ } + if ($nativeEnvironmentExitCode -ne 0) { + throw "Native compiler environment setup failed (exit $nativeEnvironmentExitCode)." + } + + $nativeInclude = $nativeEnvironmentOutput | + Where-Object { $_ -like 'INCLUDE=*' } | + ForEach-Object { $_.Substring('INCLUDE='.Length) } | + Select-Object -Last 1 + if ([string]::IsNullOrWhiteSpace($nativeInclude)) { + throw 'Native compiler environment setup did not define INCLUDE.' + } + $env:INCLUDE = $nativeInclude + } + $project = Join-Path $apjOut '.astred.project.json' - $binlogPaths = @($binlogs.FullName) - $responseFile = Join-Path $apjOut 'binlogs.rsp' - $binlogPaths | ForEach-Object { '"{0}"' -f $_ } | + $responseFile = Join-Path $apjOut 'astproj-inputs.rsp' + ($binlogs + $compilationDatabases) | ForEach-Object { '"{0}"' -f $_.FullName } | Set-Content -LiteralPath $responseFile -Encoding utf8 - Write-Host "astproj: processing $($binlogPaths.Count) binlog(s)" + Write-Host "astproj: processing $($binlogs.Count) binlog(s) and $($compilationDatabases.Count) compilation database(s)" astred astproj -nofolders "@$responseFile" "-o:$project" if ($LASTEXITCODE -ne 0) { throw "astproj failed (exit $LASTEXITCODE)" @@ -46,6 +85,8 @@ steps: workingDirectory: ${{ parameters.sourcesPath }} env: ASTRED_BINLOG_DIR: ${{ parameters.binlogDir }} + ASTRED_COMPILATION_DATABASE_DIR: ${{ parameters.compilationDatabaseDir }} + ASTRED_NATIVE_ENVIRONMENT_COMMAND: ${{ parameters.nativeEnvironmentCommand }} ASTRED_CAPTURE_PATH: ${{ parameters.capturePath }} continueOnError: true diff --git a/global.json b/global.json index 883c1fa633f..d484d91246a 100644 --- a/global.json +++ b/global.json @@ -24,11 +24,11 @@ "runner": "Microsoft.Testing.Platform" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "12.0.0-beta.26567.109", - "Microsoft.DotNet.CMake.Sdk": "12.0.0-beta.26567.109", - "Microsoft.DotNet.Helix.Sdk": "12.0.0-beta.26567.109", + "Microsoft.DotNet.Arcade.Sdk": "12.0.0-beta.26568.110", + "Microsoft.DotNet.CMake.Sdk": "12.0.0-beta.26568.110", + "Microsoft.DotNet.Helix.Sdk": "12.0.0-beta.26568.110", "FIX-85B6-MERGE-9C38-CONFLICT": "1.0.0", - "Microsoft.NET.Sdk.IL": "12.0.0-alpha.1.26567.109" + "Microsoft.NET.Sdk.IL": "12.0.0-alpha.1.26568.110" }, "native-tools": { "cmake": "latest"