Skip to content

Document that multi-file support is postponed #49361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

jjonescz
Copy link
Member

Related to #48174.

@jjonescz jjonescz requested a review from a team June 12, 2025 08:09
@jjonescz jjonescz added documentation Area-run-file Items related to the "dotnet run <file>" effort labels Jun 12, 2025
@jjonescz jjonescz marked this pull request as ready for review June 12, 2025 08:22
@Copilot Copilot AI review requested due to automatic review settings June 12, 2025 08:22
Copy link
Contributor

@Copilot 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 updates the dotnet run documentation to indicate that multi-file support is deferred to .NET 11 and clarifies the single-file compilation behavior in .NET 10.

  • Adds a caution admonition about postponing multi-file support until .NET 11
  • Specifies that in .NET 10 only the single input file is compiled
Comments suppressed due to low confidence (3)

documentation/general/dotnet-run-file.md:89

  • [nitpick] Ensure consistency with existing admonitions: if the project uses [!WARNING] or [!IMPORTANT] elsewhere, consider using those instead of [!CAUTION], or confirm that [!CAUTION] renders correctly in the site.
> [!CAUTION]

documentation/general/dotnet-run-file.md:90

  • Add a link to the related GitHub issue for more context and tracking, for example: See https://github.com/dotnet/sdk/issues/48174.
Multi-file support is postponed for .NET 11.

documentation/general/dotnet-run-file.md:91

  • [nitpick] Consider rephrasing to "In versions before .NET 11, only the single file…" to cover all earlier releases and avoid confusion if version numbering changes.
In .NET 10, only the single file passed as the command-line argument to `dotnet run` is part of the compilation.

@jjonescz
Copy link
Member Author

@dotnet/run-file for a simple doc file review, thanks

@jaredpar jaredpar merged commit ad24473 into dotnet:main Jun 12, 2025
9 of 10 checks passed
@jjonescz jjonescz deleted the sprint-multi-caution branch June 12, 2025 15:09
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