-
Notifications
You must be signed in to change notification settings - Fork 6k
Update file-based app functionality in command reference #48738
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
Update file-based app functionality in command reference #48738
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great to me @meaghanlewis
I had a few comments, most are optional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome! I found a few things for you to consider. Approving to unblock.
Summary
This pull request updates documentation for several .NET CLI commands to support file-based C# apps, and aligns the minimum supported SDK version to .NET 6 across the board. The changes clarify usage and arguments for
dotnet build
,dotnet clean
,dotnet publish
,dotnet restore
, anddotnet run
, and provide new examples for file-based workflows.Support for file-based C# programs:
Added support and documentation for using single C# files (
<FILE>
) as arguments todotnet build
,dotnet clean
,dotnet publish
, anddotnet restore
. This includes updates to synopsis, argument descriptions, and new usage examples. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]For
dotnet run
, introduced the--file
option and updated documentation to describe running file-based apps, including new argument and usage examples. [1] [2] [3] [4]Minimum supported SDK version updates:
General documentation improvements:
Updated argument descriptions and usage examples to clarify the behavior when no file is specified, and to better explain the differences between project, solution, and file-based workflows. [1] [2] [3] [4]
Refreshed dates in front-matter metadata to reflect the latest documentation update. [1] [2] [3] [4] [5]
Fixes #47465
Internal previews