From efde5018a3194bd65a856057ca61bc2054ac13f9 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Wed, 4 Nov 2026 02:09:05 +0000 Subject: [PATCH 1/2] Backflow from https://github.com/dotnet/dotnet / 4c72591 build 339642 Diff: https://github.com/dotnet/dotnet/compare/a0ab934e0921d18c2c100989d72eb57ec557d4f0..4c72591066848c3106d4f63b7bbead73ce2e0b7a From: https://github.com/dotnet/dotnet/commit/a0ab934e0921d18c2c100989d72eb57ec557d4f0 To: https://github.com/dotnet/dotnet/commit/4c72591066848c3106d4f63b7bbead73ce2e0b7a [[ commit created by automation ]] From a293628b77633fe2faf221871ee118c416e91645 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Wed, 4 Nov 2026 02:09:06 +0000 Subject: [PATCH 2/2] Update dependencies from build 339642 Updated Dependencies: Microsoft.DotNet.Arcade.Sdk (Version 12.0.0-beta.26523.103 -> 12.0.0-beta.26553.110) [[ commit created by automation ]] --- eng/Version.Details.props | 2 +- eng/Version.Details.xml | 6 +++--- eng/common/core-templates/job/onelocbuild.yml | 2 +- eng/common/native/NativeAotSupported.props | 5 ++--- eng/common/native/install-dependencies.sh | 2 +- eng/common/sdk-task.ps1 | 15 ++++++--------- eng/common/sdk-task.sh | 15 +++++---------- eng/common/tools.ps1 | 4 +++- eng/common/tools.sh | 7 ++++++- global.json | 2 +- 10 files changed, 29 insertions(+), 31 deletions(-) diff --git a/eng/Version.Details.props b/eng/Version.Details.props index c2b04a8d83..144f9f6b16 100644 --- a/eng/Version.Details.props +++ b/eng/Version.Details.props @@ -6,7 +6,7 @@ This file should be imported by eng/Versions.props - 12.0.0-beta.26523.103 + 12.0.0-beta.26553.110 diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index ca37e08a8b..730bf313be 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,12 +1,12 @@ - + - + https://github.com/dotnet/dotnet - 846769e14f918f16ee85e7055c72fcc2f6b141bb + 4c72591066848c3106d4f63b7bbead73ce2e0b7a diff --git a/eng/common/core-templates/job/onelocbuild.yml b/eng/common/core-templates/job/onelocbuild.yml index b772dc5788..bd11c2e08c 100644 --- a/eng/common/core-templates/job/onelocbuild.yml +++ b/eng/common/core-templates/job/onelocbuild.yml @@ -106,7 +106,7 @@ jobs: outputVariableName: 'GitHubAppInstallationToken' condition: ${{ parameters.condition }} - - task: OneLocBuild@2 + - task: OneLocBuild@3 displayName: OneLocBuild env: SYSTEM_ACCESSTOKEN: $(System.AccessToken) diff --git a/eng/common/native/NativeAotSupported.props b/eng/common/native/NativeAotSupported.props index cdff9ef036..002aa9c248 100644 --- a/eng/common/native/NativeAotSupported.props +++ b/eng/common/native/NativeAotSupported.props @@ -3,16 +3,15 @@ <_NativeAotSupportedOS Condition=" - '$(TargetOS)' != 'browser' and '$(TargetOS)' != 'haiku' and '$(TargetOS)' != 'illumos' and '$(TargetOS)' != 'netbsd' and - '$(TargetOS)' != 'solaris' + '$(TargetOS)' != 'solaris' and + '$(TargetOS)' != 'openharmony' ">true <_NativeAotSupportedArch Condition=" - '$(TargetArchitecture)' != 'wasm' and '$(TargetArchitecture)' != 's390x' and '$(TargetArchitecture)' != 'ppc64le' and ('$(TargetArchitecture)' != 'x86' or '$(TargetOS)' == 'windows') diff --git a/eng/common/native/install-dependencies.sh b/eng/common/native/install-dependencies.sh index aff839fa09..be405fd62e 100755 --- a/eng/common/native/install-dependencies.sh +++ b/eng/common/native/install-dependencies.sh @@ -26,7 +26,7 @@ case "$os" in apt install -y build-essential gettext locales cmake llvm clang lld lldb liblldb-dev libunwind8-dev libicu-dev liblttng-ust-dev \ libssl-dev libkrb5-dev pigz cpio ninja-build file - localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 + localedef -i en_US -c -f UTF-8 en_US.UTF-8 elif [ "$ID" = "fedora" ] || [ "$ID" = "rhel" ] || [ "$ID" = "azurelinux" ] || [ "$ID" = "centos" ]; then pkg_mgr="$(command -v tdnf 2>/dev/null || command -v dnf)" $pkg_mgr install -y cmake llvm lld lldb clang python curl libicu-devel openssl-devel krb5-devel lttng-ust-devel pigz cpio ninja-build file diff --git a/eng/common/sdk-task.ps1 b/eng/common/sdk-task.ps1 index 8d72d803dd..ad35ccb0dd 100644 --- a/eng/common/sdk-task.ps1 +++ b/eng/common/sdk-task.ps1 @@ -49,15 +49,16 @@ function Print-Usage() { Write-Host "Command line arguments not listed above are passed thru to msbuild." } -function Build([string]$target) { - $logSuffix = if ($target -eq 'Execute') { '' } else { ".$target" } - $log = Join-Path $LogDir "$task$logSuffix.binlog" +# Restore is driven by MSBuild's /restore switch, which the shared MSBuild helper adds +# whenever restore is enabled. No separate restore invocation is necessary. +function Build() { + $log = Join-Path $LogDir "$task.binlog" $binaryLogArg = if ($binaryLog) { "/bl:$log" } else { "" } $outputPath = Join-Path $ToolsetDir "$task\" MSBuild $taskProject ` $binaryLogArg ` - /t:$target ` + /t:Execute ` /p:Configuration=$configuration ` /p:RepoRoot=$RepoRoot ` /p:BaseIntermediateOutputPath=$outputPath ` @@ -88,11 +89,7 @@ try { ExitWithExitCode 1 } - if ($restore) { - Build 'Restore' - } - - Build 'Execute' + Build } catch { Write-Host $_.ScriptStackTrace diff --git a/eng/common/sdk-task.sh b/eng/common/sdk-task.sh index a7f1ba060d..0c14d45a9c 100755 --- a/eng/common/sdk-task.sh +++ b/eng/common/sdk-task.sh @@ -28,18 +28,17 @@ while [[ -h "$source" ]]; do done scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" +# Restore is driven by MSBuild's /restore switch, which the shared MSBuild helper adds +# whenever restore is enabled. No separate restore invocation is necessary. Build() { - local target=$1 - local log_suffix="" - [[ "$target" != "Execute" ]] && log_suffix=".$target" - local log="$log_dir/$task$log_suffix.binlog" + local log="$log_dir/$task.binlog" local binaryLogArg="" [[ $binary_log == true ]] && binaryLogArg="/bl:$log" local output_path="$toolset_dir/$task/" MSBuild "$taskProject" \ $binaryLogArg \ - /t:"$target" \ + /t:Execute \ /p:Configuration="$configuration" \ /p:RepoRoot="$repo_root" \ /p:BaseIntermediateOutputPath="$output_path" \ @@ -121,11 +120,7 @@ if [[ ! -e "$taskProject" ]]; then ExitWithExitCode 1 fi -if $restore; then - Build "Restore" -fi - -Build "Execute" +Build ExitWithExitCode 0 diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 9cb84a8a94..04c8bb4830 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -811,7 +811,9 @@ function MSBuild() { } } - $cmdArgs = "$($buildTool.Command) /m /nologo /clp:Summary /v:$verbosity /nr:$nodeReuse /p:ContinuousIntegrationBuild=$ci" + $restoreSwitch = if ($restore) { ' /restore' } else { '' } + + $cmdArgs = "$($buildTool.Command)$restoreSwitch /m /nologo /clp:Summary /v:$verbosity /nr:$nodeReuse /p:ContinuousIntegrationBuild=$ci" # Build with MSBuild's multi-threaded mode, but not with msbuild.exe (VS MSBuild) for now. # TODO: Enable for VS MSBuild as well: https://github.com/dotnet/dotnet/issues/9989 diff --git a/eng/common/tools.sh b/eng/common/tools.sh index 3b4a5ac514..0e28c1117b 100755 --- a/eng/common/tools.sh +++ b/eng/common/tools.sh @@ -615,7 +615,12 @@ function MSBuild { warnnotaserror_switch="/warnnotaserror:$warn_not_as_error /p:AdditionalWarningsNotAsErrors=${warn_not_as_error//;/%3B}" fi - RunBuildTool "$_InitializeBuildToolCommand" /m /nologo /clp:Summary /v:$verbosity /nr:$node_reuse $warnaserror_switch $mt_switch $warnnotaserror_switch ${logger_switch[@]+"${logger_switch[@]}"} /p:TreatWarningsAsErrors=$warn_as_error /p:ContinuousIntegrationBuild=$ci "$@" + local restore_switch="" + if [[ "$restore" == true ]]; then + restore_switch="/restore" + fi + + RunBuildTool "$_InitializeBuildToolCommand" $restore_switch /m /nologo /clp:Summary /v:$verbosity /nr:$node_reuse $warnaserror_switch $mt_switch $warnnotaserror_switch ${logger_switch[@]+"${logger_switch[@]}"} /p:TreatWarningsAsErrors=$warn_as_error /p:ContinuousIntegrationBuild=$ci "$@" } function GetDarc { diff --git a/global.json b/global.json index 248654a995..582aabe08f 100644 --- a/global.json +++ b/global.json @@ -13,6 +13,6 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "12.0.0-beta.26523.103" + "Microsoft.DotNet.Arcade.Sdk": "12.0.0-beta.26553.110" } }