Build nbgv CLI tool for .NET 9 and 10 by AArnott · Pull Request #1369 · dotnet/Nerdbank.GitVersioning (original) (raw)
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/nbgvfornet8.0;net9.0;net10.0. - Switch NPM wrapper and publish outputs from
net8.0tonet10.0. - Update
NuGet.PackageManagementversion and removeSystem.Diagnostics.Toolsdependency.
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. |