assist dotnet
See .NET for running inspections from a session with /inspect.
Commands
Section titled “Commands”assist dotnet inspect [sln]runs JetBrains inspections on the.csfiles you’ve changed and prints the dead code they find. Withoutsln, it finds the solution in the repo.--scope allinspects the whole solution,--scope base:<ref>everything changed sinceref, and--scope commit:<ref>one commit.--allprints every issue, not only dead code.--only <ids...>prints only those issue types, and--suppress <ids...>leaves them out, along with those indotnet.inspect.suppress.--sweaturns on solution-wide analysis, which is slower and more thorough.--roslynruns the Roslyn analyzers through MSBuild instead of JetBrains.
assist dotnet check-lockschecks whether a debugger is holding the build output open.assist dotnet deps <csproj>prints a project’s tree of project references and which solutions include it.--jsonprints it as JSON.assist dotnet in-sln <csproj>prints which solutions reference a project.
