ilspy-decompile by aaronontheweb/dotnet-skills
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill ilspy-decompile使用此技能,通过反编译已编译的程序集来理解 .NET 代码的内部工作原理。
dnx ilspycmd(如果您的 SDK 或运行时中可用)dotnet tool install --global ilspycmd下面展示了两种形式。请使用在您环境中可用的那一种。
注意:ILSpyCmd 的选项可能因版本略有不同。 请始终使用
ilspycmd -h验证支持的标志。
# 将程序集反编译到标准输出
ilspycmd MyLibrary.dll
# 或
dnx ilspycmd MyLibrary.dll
# 反编译到输出文件夹
ilspycmd -o output-folder MyLibrary.dll
~/.nuget/packages/<package-name>/<version>/lib/<tfm>/
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
dotnet --list-runtimes
dotnet --list-sdks
引用程序集不包含实现代码。
./bin/Debug/net8.0/<AssemblyName>.dll
./bin/Release/net8.0/publish/<AssemblyName>.dll
ilspycmd MyLibrary.dll
ilspycmd -o ./decompiled MyLibrary.dll
ilspycmd -p -o ./project MyLibrary.dll
ilspycmd -t Namespace.ClassName MyLibrary.dll
ilspycmd -lv CSharp12_0 MyLibrary.dll
ilspycmd -il MyLibrary.dll
反编译程序集可能受到许可证限制。
每周安装量
109
代码仓库
GitHub 星标数
675
首次出现
2026年2月13日
安全审计
安装于
claude-code85
codex72
opencode71
gemini-cli69
kimi-cli68
amp68
Use this skill to understand how .NET code works internally by decompiling compiled assemblies.
dnx ilspycmd (if available in your SDK or runtime)dotnet tool install --global ilspycmdBoth 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.
# 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-runtimes
dotnet --list-sdks
Reference assemblies do not contain implementations.
./bin/Debug/net8.0/<AssemblyName>.dll
./bin/Release/net8.0/publish/<AssemblyName>.dll
ilspycmd MyLibrary.dll
ilspycmd -o ./decompiled MyLibrary.dll
ilspycmd -p -o ./project MyLibrary.dll
ilspycmd -t Namespace.ClassName MyLibrary.dll
ilspycmd -lv CSharp12_0 MyLibrary.dll
ilspycmd -il MyLibrary.dll
Decompiling assemblies may be subject to license restrictions.
Weekly Installs
109
Repository
GitHub Stars
675
First Seen
Feb 13, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code85
codex72
opencode71
gemini-cli69
kimi-cli68
amp68
PyTorch AOTI 调试指南:解决 AOTInductor 常见错误与 CUDA 内存访问问题
345 周安装