Skip to content

Update .NET 11 Preview 7 dependencies - #36839

Closed
rmarinho wants to merge 1 commit into
release/11.0.1xx-preview7from
rmarinho/update-release-11.0.1xx-preview7-dependencies-26376-106
Closed

Update .NET 11 Preview 7 dependencies#36839
rmarinho wants to merge 1 commit into
release/11.0.1xx-preview7from
rmarinho/update-release-11.0.1xx-preview7-dependencies-26376-106

Conversation

@rmarinho

Copy link
Copy Markdown
Member

Summary

Update .NET 11 Preview 7 dependencies from BAR build 324583.

  • SDK: 11.0.100-preview.7.26376.106
  • Runtime: 11.0.0-preview.7.26376.106
  • Align global.json toolset with the target SDK

Validation

  • git diff --check passed
  • Confirmed no references to the previous SDK/runtime build (26365.101) remain in eng/Versions.props, eng/Version.Details.xml, or global.json
  • darc verify reports pre-existing branch metadata issues also present on the unmodified base branch:
    • Duplicate TizenUIExtensions and XUnitAnalyzers dependencies in eng/Versions.props
    • Microsoft.DotNet.XHarness.CLI case and version mismatches between global.json and eng/Version.Details.xml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 27, 2026 19:10
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool July 27, 2026 19:10 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 36839

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 36839"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@rmarinho
rmarinho temporarily deployed to copilot-pat-pool July 27, 2026 19:10 — with GitHub Actions Inactive
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool July 27, 2026 19:12 — with GitHub Actions Inactive
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool July 27, 2026 19:14 — with GitHub Actions Inactive
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool July 27, 2026 19:16 — with GitHub Actions Inactive
@github-actions github-actions Bot added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label Jul 27, 2026
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool July 27, 2026 19:16 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s .NET 11 Preview 7 toolset/package dependencies to BAR build 26376.106 and refreshes several eng/common build utilities/templates that are typically consumed alongside Arcade/toolset updates.

Changes:

  • Bump SDK/runtime and related toolset versions to 11.0.100-preview.7.26376.106 / 11.0.0-preview.7.26376.106 (incl. Arcade/Helix SDK versions) across the repo version files.
  • Enhance eng/common build tooling (pipelines logger support, toolset restore fallback behavior, new switches/defaults) and cross-build OS/arch handling.
  • Update internal pipeline templates (OneLocBuild auth option, Helix monitor option to use fully qualified test names).

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
global.json Updates pinned SDK and msbuild SDK versions (Arcade/Helix) to match Preview 7 build 26376.106.
eng/Versions.props Updates SDK/runtime and aligned Microsoft.Extensions / AspNetCore package version properties to 26376.106.
eng/Version.Details.xml Updates dependency versions and SHAs for Preview 7 build 26376.106 and related toolset packages.
eng/common/tools.sh Adds pipelines logger defaults/behavior, introduces toolset restore fallback logic, and adjusts pipeline result masking controls.
eng/common/tools.ps1 Mirrors tooling updates from tools.sh (fallback restore, pipelines logger, pipeline result masking) and adjusts MSBuild warning escaping.
eng/common/sdk-task.sh Changes restore default to on (adds --norestore), fixes option casing handling, and skips repo-specific configure-toolset import.
eng/common/sdk-task.ps1 Same as sdk-task.sh for PowerShell (restore default on + -norestore, and configure-toolset import suppression).
eng/common/native/init-os-and-arch.sh Improves FreeBSD CPU/arch detection (notably for PowerPC variants).
eng/common/cross/toolchain.cmake Adds FreeBSD toolchain selection for ppc64le.
eng/common/cross/build-rootfs.sh Updates Alpine version selection logic for RISC-V vs LoongArch.
eng/common/core-templates/job/onelocbuild.yml Adds WIF/Entra token option (internal-only) with fallback to PAT auth.
eng/common/core-templates/job/helix-job-monitor.yml Adds optional --use-fully-qualified-test-name plumbing for Helix monitoring tool invocation.
eng/common/build.sh Adds pipelines logger CLI switch and disables pipeline set-result switch; defaults pipelines logging on in CI.
eng/common/build.ps1 Adds -disablePipelineSetResult to allow propagating actual exit codes in pipelines.
Comments suppressed due to low confidence (1)

eng/common/tools.ps1:876

  • DotNet now declares a positional [switch]$ignoreFailure, but most existing call sites (including DotNet @downloadArgs ... above) pass dotnet arguments positionally. PowerShell will try to bind the first argument (e.g. package/--info) to the switch parameter, causing a parameter binding/conversion error instead of executing dotnet. Make the function accept remaining arguments explicitly so positional dotnet args remain compatible, and build the command line from that list instead of $args.
function DotNet([switch]$ignoreFailure) {
  $dotnetRoot = InitializeDotNetCli -install:$restore
  $dotnetPath = Join-Path $dotnetRoot (GetExecutableFileName 'dotnet')

  $cmdArgs = ""
  foreach ($arg in $args) {
    if ($null -ne $arg -and $arg.Trim() -ne "") {
      if ($arg.EndsWith('\')) {
        $arg = $arg + "\"
      }
      $cmdArgs += " `"$arg`""
    }
  }

Comment thread eng/common/tools.sh
local warnnotaserror_switch=""
if [[ -n "$warn_not_as_error" && "$warn_as_error" == true ]]; then
warnnotaserror_switch="/warnnotaserror:$warn_not_as_error /p:AdditionalWarningsNotAsErrors=$warn_not_as_error"
warnnotaserror_switch="/warnnotaserror:$warn_not_as_error /p:AdditionalWarningsNotAsErrors=${warn_not_as_error//;/%3B}"
Comment thread eng/common/tools.sh
Comment on lines +11 to +19
# Set to true to use the pipelines logger which will enable Azure logging output.
# https://github.com/Microsoft/azure-pipelines-tasks/blob/master/docs/authoring/commands.md
# This flag is meant as a temporary opt-in for the feature while validating it across
# our consumers. It will be deleted in the future.
if [[ "$ci" == true ]]; then
pipelines_log=${pipelines_log:-true}
else
pipelines_log=${pipelines_log:-false}
fi
@PureWeen

Copy link
Copy Markdown
Member

Closing in favor of #36838, which includes this same blessed dotnet/dotnet Preview 7 update (BAR #324583) together with the corresponding dotnet/android and dotnet/macios Preview 7 dependency updates. Thanks, Rui!

@PureWeen PureWeen closed this Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants