Skip to content

Conversation

@jjonescz
Copy link
Member

@jjonescz jjonescz commented Dec 9, 2025

No description provided.

@jjonescz jjonescz requested a review from Copilot December 9, 2025 12:20
@jjonescz jjonescz added documentation Area-run-file Items related to the "dotnet run <file>" effort labels Dec 9, 2025
Copy link
Contributor

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

This PR enhances the documentation for the dotnet run file.cs feature by adding missing details about the PackAsTool property and clarifying the command resolution precedence rules. The changes ensure users understand how file-based apps are packaged as tools by default and how built-in commands take precedence over file-based apps with the same name.

  • Documents that PackAsTool is implicitly set to true for file-based programs
  • Clarifies command resolution precedence (DLL paths, built-in commands, and NuGet tools take precedence over file-based apps)
  • Adds opt-out instructions for PackAsTool using file-level directives

@jjonescz jjonescz marked this pull request as ready for review December 9, 2025 12:27
@jjonescz jjonescz requested a review from a team December 9, 2025 12:27
@jjonescz jjonescz merged commit 1bef173 into dotnet:release/10.0.2xx Dec 9, 2025
15 of 16 checks passed
@jjonescz jjonescz deleted the sprint-doc-updates branch December 9, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-run-file Items related to the "dotnet run <file>" effort documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants