Skip to content

Derive Helix tool versions from dotnet-tools.json - #68499

Merged
wtgodbe merged 2 commits into
dotnet:mainfrom
wtgodbe:helix-tool-manifest-versions
Aug 13, 2026
Merged

Derive Helix tool versions from dotnet-tools.json#68499
wtgodbe merged 2 commits into
dotnet:mainfrom
wtgodbe:helix-tool-manifest-versions

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Aug 13, 2026

Copy link
Copy Markdown
Member

Use .config/dotnet-tools.json as the source of truth for the tool nupkg paths included in the Helix correlation payload.

This removes the duplicate DotnetDumpVersion and DotnetServeVersion properties from eng/Versions.props, so Maestro tool-manifest updates such as #68489 do not require manually synchronizing those properties. DotnetEfVersion remains because the project template infrastructure also consumes it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 13, 2026 17:20
@wtgodbe
wtgodbe requested a review from a team as a code owner August 13, 2026 17:20

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

This PR removes duplicated dotnet-tool version properties by deriving Helix tool nupkg paths directly from .config/dotnet-tools.json, making Helix correlation payload contents automatically follow tool-manifest updates.

Changes:

  • Removed DotnetDumpVersion and DotnetServeVersion from eng/Versions.props.
  • Added a new MSBuild task (ResolveDotnetToolPackagePaths) to resolve tool nupkg paths from the dotnet tool manifest.
  • Updated eng/helix/helix.proj to include the resolved tool nupkgs in the Helix correlation payload and warn when expected nupkgs are missing.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
eng/Versions.props Removes duplicate dotnet tool version properties now sourced from the tool manifest.
eng/tools/RepoTasks/ResolveDotnetToolPackagePaths.cs Introduces an MSBuild task to map tool IDs in dotnet-tools.json to expected global-packages nupkg paths.
eng/tools/RepoTasks/RepoTasks.tasks Registers the new RepoTasks MSBuild task for use in build/Helix targets.
eng/helix/helix.proj Switches Helix correlation payload tool inclusion to resolved paths from the tool manifest.

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

Comment thread eng/tools/RepoTasks/ResolveDotnetToolPackagePaths.cs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wtgodbe
wtgodbe merged commit 01b15bd into dotnet:main Aug 13, 2026
29 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Aug 14, 2026
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.

2 participants