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.
Decompile IL Assembly in Current Workspace will put all potential .NET assemblies
(files with extension
.netmodule) in your
workspace in a list for selection.
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,
If the file is a valid .NET assembly, a tree view named
ILSPY DECOMPILED MEMBERS 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 right-click on the assemly nodes to show the context menu then select
Unload Assembly menu item.
- Visual Studio Code >= 1.56
- .NET 5.0 (installed automatically on first start)
See our change log for all of the updates.
Found a Bug?
Please file any issues at https://github.com/icsharpcode/ilspy-vscode/issues
Node.js (newer than 4.3.1)
Npm (newer than 2.14.12)
Compile and prepare ILSpy.Backend:
../build backend (or
npm run compile
Open in Visual Studio Code (
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.