Skip to content

Build nbgv CLI tool for .NET 9 and 10#1369

Merged
AArnott merged 2 commits into
mainfrom
fix1368
May 20, 2026
Merged

Build nbgv CLI tool for .NET 9 and 10#1369
AArnott merged 2 commits into
mainfrom
fix1368

Conversation

@AArnott
Copy link
Copy Markdown
Collaborator

@AArnott AArnott commented May 20, 2026

No description provided.

@AArnott AArnott linked an issue May 20, 2026 that may be closed by this pull request
@AArnott AArnott requested a review from Copilot May 20, 2026 18:49
Copy link
Copy Markdown

Copilot AI left a comment

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 nbgv CLI tool packaging and build outputs to target newer .NET runtimes and adjusts the NPM wrapper/build pipeline to consume the published tool output.

Changes:

  • Multi-target src/nbgv for net8.0;net9.0;net10.0.
  • Switch NPM wrapper and publish outputs from net8.0 to net10.0.
  • Update NuGet.PackageManagement version and remove System.Diagnostics.Tools dependency.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/nerdbank-gitversioning.npm/ts/core.ts Updates NPM wrapper to run the published nbgv DLL from a net10.0 tools folder.
src/nbgv/nbgv.csproj Multi-targets the CLI tool for net8/net9/net10 and removes an unused package reference.
Directory.Packages.props Bumps NuGet.PackageManagement and removes centrally-pinned System.Diagnostics.Tools.
build.ps1 Publishes nbgv into the NPM package output under net10.0.
.github/workflows/build.yml Updates CI publish output path for the nbgv tool to net10.0.

Comment thread .github/workflows/build.yml Outdated
Comment thread src/nerdbank-gitversioning.npm/ts/core.ts Outdated
Comment thread build.ps1
Base automatically changed from auto/libtemplateUpdate to main May 20, 2026 19:04
@AArnott AArnott added this to the v3.10 milestone May 20, 2026
@AArnott AArnott enabled auto-merge May 20, 2026 19:07
@AArnott AArnott added this pull request to the merge queue May 20, 2026
Merged via the queue into main with commit 3bf9aaf May 20, 2026
12 checks passed
@AArnott AArnott deleted the fix1368 branch May 20, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nbgv dotnet tool is still .NET 8

2 participants