SharpDrill 0.8.0
See the version list below for details.
dotnet tool install --global SharpDrill --version 0.8.0
dotnet new tool-manifest
dotnet tool install --local SharpDrill --version 0.8.0
#tool dotnet:?package=SharpDrill&version=0.8.0
nuke :add-package SharpDrill --version 0.8.0
SharpDrill
Source-backed analysis of .NET code (Web APIs, console apps, libraries), for people and coding agents. Every result points at file:line; anything the analysis cannot decide is reported instead of hidden.
dotnet tool install -g SharpDrill
cd MyApp
sharpdrill exceptions # exceptions that may escape an entry point, with one example path each
sharpdrill exceptions miscaught # try blocks that catch the wrong type
sharpdrill skill # teach GitHub Copilot and Claude Code to use it
Entry points are controller actions, Main or top-level statements, and the public methods of a library that nothing in the solution references.
| Command | Answers |
|---|---|
exceptions [uncaught\|caught\|miscaught\|thrown] |
What may escape (default), where each exception is caught, which try blocks miss, every throw. --from E for one entry point, --third-party for unguarded NuGet/DLL calls. |
diagram |
A Mermaid call graph of one entry point. |
projects |
The <ProjectReference> tree with framework, nullable settings and warning counts. |
skill |
Installs the agent skill (.github/skills, .claude/skills, or --user). |
--format msbuild prints findings as build warnings (SD0001–SD0005) for CI and IDEs; the optional SharpDrill.MSBuild package runs it after every build. Requires a .NET 10 or newer SDK; missing packages are restored automatically and the code is never built or edited. Exit codes: 0 complete, 1 usable with gaps, 2 invalid request, 130 cancelled.
Static analysis: paths are call relationships, not execution traces; interface calls are followed into their source implementations as marked possibilities; library code and implicit exceptions are not modelled.
Documentation: https://github.com/stadtaev/SharpDrill/blob/main/docs/cli.md. Licensed under MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.