Roslynator Command Line Tool | My Docs (original) (raw)

Installation

Run dotnet tool install -g roslynator.dotnet.cli

Run roslynator --help to see a list of available commands.

Requirements

Exit Code

Value Comment
0 Success*
1 Not a success**
2 Error occurred or execution canceled

* No diagnostic was found (analyze command) or all diagnostics were fixed (fix command) etc.

** A diagnostic was found (analyze command) or not all diagnostics were fixed (fix command) etc.

Legacy .NET Framework Package