This commit is contained in:
Matthew Parker
2023-08-31 21:19:18 +10:00
parent 1764142382
commit 1422af5c46

View File

@@ -4,17 +4,17 @@ Various tools to manage a C# solution.
## CLI ## CLI
**compare** `<SolutionFolderPath>` `<SolutionFilePath>` **compare** `<SolutionFolderPath>` `<SolutionFilePath>` Finds any missing C# projects in the solution file compared to the folder.
_options_ _options_
`-l --logprojectfiles` logs all project files found in folder `-l --logprojectfiles` logs all project files found in folder
implicit-usings `<SolutionFilePath>` implicit-usings `<SolutionFilePath>` Find projects that don't have implicit usings enabled. Optionally enables them.
_options_ _options_
`-m|--add-missing` adds missing implicit usings to all project files `-m|--add-missing` adds missing implicit usings to all project files
`-d|--enable-disabled` enables disabled implicit usings in all project files `-d|--enable-disabled` enables disabled implicit usings in all project files
`-a|--enable-all` enables implicit usings in all project files `-a|--enable-all` enables implicit usings in all project files
**format-csproj** **format-csproj** Formats a C# project file.
`--folder <SolutionFolderPath>` or `--folder <SolutionFolderPath>` or
`--sln <SolutionFilePath>` or `--sln <SolutionFilePath>` or
`--project <CsprojFilePath>` `--project <CsprojFilePath>`