Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/core/tools/dotnet-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ dotnet format -h|--help

The MSBuild project or solution to run code formatting on. If a project or solution file is not specified, MSBuild searches the current working directory for a file that has a file extension that ends in *proj* or *sln*, and uses that file.

> [!CAUTION]
> dotnet format may restore, compile, and run analyzers from the specified project or solution. Only invoke the tool against trusted code.

## Options

None of the options below are required for the `dotnet format` command to succeed, but you can use them to further customize what is formatted and by which rules.
Expand Down