Update .NET 11 Preview 7 dependencies - #36839
Closed
rmarinho wants to merge 1 commit into
Closed
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
rmarinho
temporarily deployed
to
copilot-pat-pool
July 27, 2026 19:10 — with
GitHub Actions
Inactive
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 36839Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 36839" |
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
rmarinho
temporarily deployed
to
copilot-pat-pool
July 27, 2026 19:10 — with
GitHub Actions
Inactive
rmarinho
temporarily deployed
to
copilot-pat-pool
July 27, 2026 19:12 — with
GitHub Actions
Inactive
rmarinho
temporarily deployed
to
copilot-pat-pool
July 27, 2026 19:14 — with
GitHub Actions
Inactive
rmarinho
temporarily deployed
to
copilot-pat-pool
July 27, 2026 19:16 — with
GitHub Actions
Inactive
rmarinho
temporarily deployed
to
copilot-pat-pool
July 27, 2026 19:16 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
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/commonbuild 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
DotNetnow declares a positional[switch]$ignoreFailure, but most existing call sites (includingDotNet @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`""
}
}
| 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 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 |
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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update .NET 11 Preview 7 dependencies from BAR build 324583.
11.0.100-preview.7.26376.10611.0.0-preview.7.26376.106global.jsontoolset with the target SDKValidation
git diff --checkpassed26365.101) remain ineng/Versions.props,eng/Version.Details.xml, orglobal.jsondarc verifyreports pre-existing branch metadata issues also present on the unmodified base branch:TizenUIExtensionsandXUnitAnalyzersdependencies ineng/Versions.propsMicrosoft.DotNet.XHarness.CLIcase and version mismatches betweenglobal.jsonandeng/Version.Details.xml