Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ilspy-vscodeNew to Visual Studio Code? Get it now.
ilspy-vscode

ilspy-vscode

Preview

SharpDevelop Team

|
152,918 installs
| (10) | Free
Decompile MSIL assemblies - support for full framework, .NET Core and .NET Standard
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ilspy-vscode (powered by ICSharpCode.Decompiler)

Welcome to the ILSpy extension for Visual Studio Code! This extension provides two commands inside Visual Studio Code:

  • ilspy.decompileAssemblyInWorkspace - Decompile an MSIL assembly inside the current Visual Studio Code workspace.
  • ilspy.decompileAssemblyViaDialog - Decompile an MSIL assembly from file picker dialog.

Open the Visual Studio Code Command Palette (Ctrl+Shift+P) then type ilspy to show the two commands.

The Decompile IL Assembly in Current Workspace will put all potential .NET assemblies (files with extension .dll, .exe, .winmd, or .netmodule) in your workspace in a list for selection.

The Decompile IL Assembly (pick file) command allows choosing an assembly using the file picker dialog. The dialog should also allow one to type in the full path, for example, c:/temp/a.dll or /home/user/b.dll.

If the file is a valid .NET assembly, a tree view named ILSPY: ASSEMBLIES is added into the Explorer view. It allows expanding and selecting various nodes, whose decompiled C# code is shown in the editor.

Loaded assemblies can be closed by hovering the assemly nodes and clicking the "X" icon.

Further features are:

  • Symbol search across all loaded assemblies
  • Choosing decompilation language
  • Saving list of loaded assemblies along with currently open workspace

Requirements

  • Visual Studio Code >= 1.74
  • .NET 8.0 (installed automatically on first start)

What's New

See our change log for all of the updates.

Found a Bug?

Please file any issues at https://github.com/icsharpcode/ilspy-vscode/issues

Development

First install:

  • Node.js (18 or newer)

  • Npm (8 or newer)

  • Compile and prepare ILSpy.Backend:

cd ..
buildtools/build-backend
  • Run npm i
  • Run npm run compile
  • Open in Visual Studio Code (code .)
  • Optional: run npm run watch, make code changes
  • Press F5 to debug

To test do the following: npm test or F5 in VS Code with the "Launch Tests" debug configuration.

License

MIT license.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft