Skip to content

[main] Bump Microsoft.Build.Framework and Microsoft.Build.Utilities.Core - #10571

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/multi-cd87c1d130
Open

[main] Bump Microsoft.Build.Framework and Microsoft.Build.Utilities.Core#10571
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/multi-cd87c1d130

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 12, 2026

Copy link
Copy Markdown
Contributor

Updated Microsoft.Build.Framework from 17.11.48 to 18.9.6.

Release notes

Sourced from Microsoft.Build.Framework's releases.

18.9.6

What's Changed

18.8.2

What's Changed

18.7.1

What's Changed

18.6.3

What's Changed

18.5.4

What's Changed

18.4.0

What's Changed

18.3.3

What's Changed

18.0.2

What's Changed

17.14.28

What's Changed

17.14.8

What's Changed

Full Changelog: dotnet/msbuild@v17.14.5...v17.14.8

17.14.5

What's Changed

17.14.0-preview-25177-05

Release

What's Changed

Description has been truncated

Bumps Microsoft.Build.Framework from 17.11.48 to 18.9.6
Bumps Microsoft.Build.Utilities.Core from 17.11.48 to 18.9.6

---
updated-dependencies:
- dependency-name: Microsoft.Build.Framework
  dependency-version: 18.9.6
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Build.Utilities.Core
  dependency-version: 18.9.6
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Updates to dependency manifests. labels Aug 12, 2026
Copilot AI balanced review requested due to automatic review settings August 12, 2026 06:45
@dependabot dependabot Bot added dependencies Updates to dependency manifests. .NET Pull requests that update .NET code labels Aug 12, 2026

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

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the centrally managed MSBuild package version used across the repository.

Changes:

  • Bump MicrosoftBuildVersion from 17.11.48 to 18.9.6

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Directory.Packages.props
the two drift apart. -->
<AspireHostingTestingVersion>13.4.6</AspireHostingTestingVersion>
<MicrosoftBuildVersion>17.11.48</MicrosoftBuildVersion>
<MicrosoftBuildVersion>18.9.6</MicrosoftBuildVersion>
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Build Failure Analysis

Summary — The dependabot bump of Microsoft.Build.Framework / Microsoft.Build.Utilities.Core (and their transitive Microsoft.NET.StringTools) from 17.11.48 to 18.9.6 in Directory.Packages.props breaks every build leg that compiles Microsoft.Testing.Platform.MSBuild, because 18.9.6 only declares support for net10.0+.

Root cause: Microsoft.Build.* 18.9.6 dropped net8.0/net9.0 support

Microsoft.Testing.Platform.MSBuild.csproj multi-targets net8.0;net9.0;netstandard2.0. The newer 18.9.6 packages ship a buildTransitive/netcoreapp2.0/*.targets compat-check (NETStandardCompatError_*_net10_0) that fires for any TFM below net10.0, and in this repo it is treated as a build error — so every leg that builds Microsoft.Testing.Platform.MSBuild fails: Linux Debug (1_0), Linux Release (2_0), macOS Release (3_0), the Windows application-model acceptance leg (5_1), and both Windows Release/Debug legs (6_0/6_1, 7_0/7_1). Legs that don't build this project — macOS Debug (4_0), acceptance leg 5_0, Windows Release 6_2, and Windows Debug 7_2 — compiled clean.

Affected files / errors

  • Directory.Packages.props:30 — the bump of MicrosoftBuildVersion from 17.11.48 to 18.9.6 (this PR's only change)
  • src/Platform/Microsoft.Testing.Platform.MSBuild/Microsoft.Testing.Platform.MSBuild.csproj — targets NETStandardCompatError_Microsoft_NET_StringTools_net10_0 / ..._Microsoft_Build_Framework_net10_0 / ..._Microsoft_Build_Utilities_Core_net10_0: "...18.9.6 doesn't support net8.0/net9.0 and has not been tested with it. Consider upgrading your TargetFramework to net10.0 or later..."
  • test/UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests.csproj — same compat errors for its net8.0/net9.0 TFMs.

Proposed fix

This is a version-incompatibility rather than a code bug — 18.9.6 isn't usable from net8.0/net9.0 consumers yet. Options (a maintainer decision, not a mechanical fix):

  1. Hold this dependency bump until Microsoft.Testing.Platform.MSBuild (and its unit-test project) can add net10.0 to their TargetFrameworks, or
  2. Pin MicrosoftBuildVersion back to a net8.0/net9.0-compatible release (e.g. revert to 17.11.48, or the latest release in that line that still supports these TFMs), or
  3. If maintainers explicitly accept running "at your own risk" on net8.0/net9.0 with 18.9.6, opt in via <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the affected .csproj files — this masks a real incompatibility, so it should be a deliberate, reviewed choice rather than a default workaround.

Secondary finding (likely pre-existing, unrelated to this bump)

Every failing leg also reports CS0419: Ambiguous reference in cref attribute: 'UnsupportedOSPlatformAttribute' at src/Platform/Microsoft.Testing.Platform/Helpers/System/ITask.cs:27, promoted to an error. Since this PR only touches Directory.Packages.props, this is very likely a pre-existing warning-as-error that simply becomes visible in these now-failing legs — worth triaging separately, not part of this dependency bump.


Build overview
  • Outcome: failure
  • Legs with build errors: 1_0 (Linux Debug), 2_0 (Linux Release), 3_0 (macOS Release), 5_1 (Windows application-model acceptance Debug), 6_0/6_1 (Windows Release), 7_0/7_1 (Windows Debug)
  • Legs that compiled clean: 4_0 (macOS Debug), 5_0 (Windows application-model acceptance Debug), 6_2 (Windows Release), 7_2 (Windows Debug)
  • Changed file in this PR: Directory.Packages.props (MicrosoftBuildVersion: 17.11.4818.9.6)

🤖 Generated by the Build Failure Analysis workflow using (a href="(dev.azure.com/redacted) · commit 380dc95

🤖 Automated content by GitHub Copilot. Generated by the Build Failure Analysis workflow. · auto · 100.2 AIC · ⌖ 2.35 AIC · ⊞ 11.6K · [◷]( · )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates to dependency manifests. .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant