Skip to content

Simplify buildTool initialization in tools.ps1 - #17093

Merged
ViktorHofer merged 1 commit into
mainfrom
ViktorHofer-patch-2
Jul 10, 2026
Merged

ViktorHofer merged 1 commit into
mainfrom
ViktorHofer-patch-2

Conversation

@ViktorHofer

Copy link
Copy Markdown
Member

Tool and Framework aren't used anymore

To double check:

Tool and Framework aren't used anymore
Copilot AI review requested due to automatic review settings July 10, 2026 12:41

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 simplifies Arcade’s PowerShell build tool initialization by removing unused metadata from the InitializeBuildTool return object, keeping only the fields that are actually consumed by MSBuild() and related logic.

Changes:

  • Remove unused Tool and Framework entries from the dotnet msbuild tool hashtable.
  • Remove unused Tool and Framework entries from the vs msbuild tool hashtable (preserving ExcludePrereleaseVS since it’s used by the cache invalidation logic).
Show a summary per file
File Description
eng/common/tools.ps1 Simplifies $buildTool hashtables by removing unused keys while keeping the fields referenced by callers (Path, Command, and ExcludePrereleaseVS for VS).

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@ViktorHofer
ViktorHofer enabled auto-merge (squash) July 10, 2026 13:37
@ViktorHofer
ViktorHofer merged commit a24205e into main Jul 10, 2026
10 of 11 checks passed
@ViktorHofer
ViktorHofer deleted the ViktorHofer-patch-2 branch July 10, 2026 13:49
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 13, 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.

3 participants