Skip to content

C#: Update Microsoft.Build to 18.12.2 - #23226

Draft
michaelnebel wants to merge 1 commit into
github:mainfrom
michaelnebel:michaelnebel-microsoft-build-update
Draft

michaelnebel wants to merge 1 commit into
github:mainfrom
michaelnebel:michaelnebel-microsoft-build-update

Conversation

@michaelnebel

Copy link
Copy Markdown
Contributor

Summary

  • Update Microsoft.Build to 18.12.2 and regenerate its Paket dependency graph.
  • Remove the temporary .NET 10 compatibility pins now that the extractor targets .NET 11.

Validation

  • dotnet test CSharp.slnx -p:RuntimeFrameworkVersion=11.0.0 --verbosity quiet (159 tests passed).
  • bazel build @paket.main//microsoft.build:microsoft.build.
  • The Bazel C# autobuilder test could not run because this checkout lacks the internal @semmle_code//:git_info target.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the C# label Nov 24, 2026
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Nov 24, 2026
@michaelnebel
michaelnebel requested an adaptive review from Copilot November 24, 2026 13:07

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.

🔵 Needs a closer look

The MSBuild and .NET dependency changes affect the C# extractor and autobuilder, but Bazel integration validation was unavailable because this checkout lacks the internal @semmle_code//:git_info target, leaving compatibility for human verification.

No open issues 🎉

What changed in this PR

Updates the C# extractor’s Paket dependencies to Microsoft.Build 18.12.2 now that the project targets .NET 11, removing temporary .NET 10 compatibility pins.

Changes:

  • Upgrades the direct Microsoft.Build dependency from 18.9.6 to 18.12.2.
  • Regenerates related Microsoft.Build and Microsoft.NET.StringTools dependency entries.
  • Removes obsolete explicit compatibility pins.
File Description
csharp/​paket.lock Regenerates the Paket lockfile for the Microsoft.Build 18.12.2 dependency graph and related packages.
csharp/​paket.dependencies Updates Microsoft.Build to 18.12.2 and removes temporary .NET 10 compatibility pins.

Review effort: Lite (adaptive)

This branch has not been deployed

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

Labels

C# no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants