镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add missing details to run-file spec - #52085

Merged
jjonescz merged 1 commit into
dotnet:release/10.0.2xxfrom
jjonescz:sprint-doc-updates
Dec 9, 2025
Merged

jjonescz merged 1 commit into
dotnet:release/10.0.2xxfrom
jjonescz:sprint-doc-updates

Conversation

@jjonescz

@jjonescz jjonescz commented Dec 9, 2025

Copy link
Copy Markdown
Member

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

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 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.

3 participants