Skip to content

(deps): Bump NuGet.Frameworks from 7.9.0 to 8.0.0 - #5474

Merged
arturcic merged 1 commit into
GitTools:mainfrom
arturcic:codex/5394-nuget-frameworks-8
Nov 15, 2026
Merged

arturcic merged 1 commit into
GitTools:mainfrom
arturcic:codex/5394-nuget-frameworks-8

Conversation

@arturcic

@arturcic arturcic commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

The net11 MSBuild tests emit MSB3277 because their direct NuGet.Frameworks 7.9.0 reference takes precedence over the 7.11 assembly reference from Microsoft.Build 18.12.2.

Upgrade only the central NuGet.Frameworks pin to 8.0.0, which includes a net10.0 asset. This dependency is referenced only by GitVersion.MsBuild.Tests. Keep Microsoft.Build 18.9.6 for net10 and 18.12.2 for net11, along with the existing task-host selection and fallback behavior.

Validation:

  • XML and diff checks passed; the complete diff is one version line.
  • The prior investigation tested this exact one-line candidate on the same main base with SDK 11.0.100: MSB3277 cleared and all 656 tests passed across net10/net11 and managed/libgit2 on macOS ARM64, including all framework-selection and override cases.
  • Windows/Linux validation is delegated to this PR's existing CI matrix, as requested; no new workflow or script is added and no local test suite was repeated.

Related to #5394.

Codex here, responding on behalf of @arturcic.

Summary by CodeRabbit

  • Chores
    • Updated internal platform configuration. This update does not add or remove user-facing features, and no changes to user-visible functionality or behavior are included.

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The centrally managed NuGet.Frameworks package version changed from 7.9.0 to 8.0.0.

Changes: Package version update

Layer / File(s) Summary
Update central package version
src/Directory.Packages.props
The centrally managed NuGet.Frameworks package version changed from 7.9.0 to 8.0.0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Merge Risk: Minimal · up to ead7a

This bumps a test-only dependency version. It has no production runtime impact, and the merge risk is minimal, assuming the CI matrix passes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title states the main change: the centrally managed NuGet.Frameworks package is bumped from 7.9.0 to 8.0.0. The raw summary confirms this is the only change, a one-line version update in src/Direc…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: the centrally managed NuGet.Frameworks package is bumped from 7.9.0 to 8.0.0. The raw summary confirms this is the only change, a one-line version update in src/Directory.Packages.props. The title is specific, short, and matches the changeset.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3b48283c-4117-4288-a72c-c8f63ed4618a
Commits

Reviewing files that changed from the base of the PR and between 60b5d88 and ead7a3e.

Files selected for processing: 1

  • src/Directory.Packages.props

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

@arturcic arturcic added the dependencies Pull requests that update a dependency file label Nov 15, 2026
@arturcic arturcic added this to the 7.0.x milestone Nov 15, 2026
@arturcic
arturcic marked this pull request as ready for review November 15, 2026 13:08
Copilot AI balanced review requested due to automatic review settings November 15, 2026 13:08
@mergify

mergify Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

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.

🟢 Approval recommended

No active review issues are recorded for the NuGet.Frameworks update intended to address the .NET 11 MSBuild assembly conflict.

No open issues 🎉

What changed in this PR

This PR addresses the NuGet.Frameworks assembly conflict in net11 MSBuild tests as part of .NET 11 compatibility work tracked in #5394.

Changes:

  • Bumps the central NuGet.Frameworks pin from 7.9.0 to 8.0.0.
  • Leaves framework-specific Microsoft.Build versions and task-host selection and fallback behavior unchanged.
File Description
src/​Directory.Packages.props Updates NuGet.Frameworks for GitVersion.MsBuild.Tests to resolve MSB3277 warnings.

Review effort: Balanced

@arturcic
arturcic force-pushed the codex/5394-nuget-frameworks-8 branch from 9a2055d to ead7a3e Compare November 15, 2026 13:11

Copy link
Copy Markdown
Member Author

Codex here, responding on behalf of @arturcic.

@coderabbitai full review

Please review the rebased head ead7a3e7634f61824c6082146c8b00ef6966eae5 against current main 60b5d8884da9a93f07c14aee5b788641ef4db15f.

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Action performed

Full review finished.

@sonarqubecloud

Copy link
Copy Markdown

@arturcic
arturcic merged commit 0d8ff80 into GitTools:main Nov 15, 2026
50 checks passed
@arturcic
arturcic deleted the codex/5394-nuget-frameworks-8 branch November 15, 2026 13:58
@mergify

mergify Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Thank you @arturcic for your contribution!

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

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete .NET 11 GA adoption and compatibility validation

2 participants