Loading...
Loading...
Understand implementation details of .NET code by decompiling assemblies. Use when you want to see how a .NET API works internally, inspect NuGet package source, view framework implementation, or understand compiled .NET binaries.
npx skill4agent add aaronontheweb/dotnet-skills ilspy-decompilednx ilspycmddotnet tool install --global ilspycmdNote: ILSpyCmd options may vary slightly by version.
Always verify supported flags with.ilspycmd -h
# Decompile an assembly to stdout
ilspycmd MyLibrary.dll
# or
dnx ilspycmd MyLibrary.dll
# Decompile to an output folder
ilspycmd -o output-folder MyLibrary.dll~/.nuget/packages/<package-name>/<version>/lib/<tfm>/dotnet --list-runtimesdotnet --list-sdksReference assemblies do not contain implementations.
./bin/Debug/net8.0/<AssemblyName>.dll
./bin/Release/net8.0/publish/<AssemblyName>.dllilspycmd MyLibrary.dll
ilspycmd -o ./decompiled MyLibrary.dll
ilspycmd -p -o ./project MyLibrary.dllilspycmd -t Namespace.ClassName MyLibrary.dll
ilspycmd -lv CSharp12_0 MyLibrary.dllilspycmd -il MyLibrary.dll