Ilspy Decompile
Decompile compiled .NET assemblies with ILSpy to see how APIs and packages work internally.
- CCM score
- 70 of 100
- skills.sh installs
- 684
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers decompiling assemblies to stdout, folders, or full projects, plus viewing IL code
- Includes targeted type decompilation with
-tand language version selection with-lv - Lists common assembly locations: NuGet packages, runtime libraries, SDK references, and build output
- Notes that ReadyToRun, trimmed, or AOT builds may hide or reduce code, so non-trimmed builds are preferred
Install
$ npx -y skills add aaronontheweb/dotnet-skills --skill ilspy-decompile -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
.NET Assembly Decompilation with ILSpy
Use this skill to understand how .NET code works internally by decompiling compiled assemblies.
Prerequisites
- .NET SDK installed
- ILSpy command-line tool available via one of the following:
dnx ilspycmd(if available in your SDK or runtime)dotnet tool install --global ilspycmd
Both forms are shown below. Use the one that works in your environment.
Note: ILSpyCmd options may vary slightly by version.
Always verify supported flags withilspycmd -h.
Quick start
# Decompile an assembly to stdout
ilspycmd MyLibrary.dll
# or
dnx ilspycmd MyLibrary.dll
# Decompile to an output folder
ilspycmd -o output-folder MyLibrary.dll
Common .NET Assembly Locations
NuGet packages
~/.nuget/packages/<package-name>/<version>/lib/<tfm>/
.NET runtime libraries
dotnet --list-runtimes
.NET SDK reference assemblies
dotnet --list-sdks
Reference assemblies do not contain implementations.
Project build output
./bin/Debug/net8.0/<AssemblyName>.dll
./bin/Release/net8.0/publish/<AssemblyName>.dll
Core workflow
Details
- Repository
- github.com/aaronontheweb/dotnet-skills
- Categories
- .NET & C#, Debugging, Security
- First seen
- Jun 3, 2026
Questions
What does the ilspy-decompile skill do?
The ilspy-decompile skill helps an agent understand .NET code by decompiling compiled assemblies with ILSpy. It can show how a .NET API works internally, inspect NuGet package source, view framework implementation, or read compiled .NET binaries.
How do I install the ilspy-decompile skill?
Run npx -y skills add aaronontheweb/dotnet-skills --skill ilspy-decompile -y in a project to install it. Once installed, the agent can decompile assemblies to inspect .NET internals.
What do I need to use ilspy-decompile?
You need the .NET SDK installed and the ILSpy command-line tool, available through dnx ilspycmd or dotnet tool install --global ilspycmd. The skill also works on assemblies such as NuGet package DLLs or your own build output.
Where does ilspy-decompile rank in the .NET and C# category?
On the .NET and C# category page, ilspy-decompile ranks in the top 100. Other skills near the top of that category include dotnet-backend-patterns, dotnet-best-practices, nuget-manager and microsoft-code-reference.
More from aaronontheweb/dotnet-skills
All 34- Microsoft Extensions Configuration636
- Package Management635
- Serialization622
- Testcontainers Integration Tests615
- Dotnet Slopwatch611
- Crap Analysis605
- Playwright Blazor Testing582
- Dotnet Local Tools573
- Aspire Integration Testing545
- Mjml Email Templates535
- Aspire Service Defaults520
- Snapshot Testing509
- Aspire Configuration508
- Dotnet Devcert Trust480
- Skills Index Snippets478
- Playwright Ci Caching476
- Akka Net Best Practices472
- Mailpit Integration465
- Verify Email Snapshots458
- OpenTelemetry NET Instrumentation456
- Akka Hosting Actor Patterns455
- Akka Net Testing Patterns452
- Akka Net Management451
- Akka Net Aspire Configuration437
Similar to Ilspy Decompile
More .NET & C#Roslyn CodeLensMCP servermarcelroozekrans78 starsRoslyn semantic access for .NET code: type graphs, call sites, tests, and refactoring data.
dotnet-trace-collectSkilldotnet/skills5.3K installsGuided capture of .NET diagnostic artifacts, picking the right tool for Windows, Linux, and container environments.
Compiler ExplorerMCP servercompiler-explorer19.2K starsCompile code in thousands of compilers, inspect assembly, and share godbolt.org links.
OpenTelemetry-NET-InstrumentationSkillaaronontheweb/dotnet-skills456 installsStructured guidance for instrumenting .NET codebases with OpenTelemetry tracing, metrics, and logs using built-in System.Diagnostics APIs.
analyzing-dotnet-performanceSkilldotnet/skills6.7K installsScans .NET code for about 50 performance anti-patterns with tiered severity and concrete fixes.
crap-analysisSkillaaronontheweb/dotnet-skills605 installsAnalyzes coverage and CRAP scores with ReportGenerator to surface untested, high-complexity Risk Hotspots in .NET code.