/ilspy-vscode

ILSpy Visual Studio Code Extension and Service for Decompiling .NET Assemblies

Primary LanguageC#MIT LicenseMIT

ILSpy Visual Studio Code Extension Visual Studio Marketplace Join the chat at https://gitter.im/icsharpcode/ILSpy CI

You can install the extension in Visual Studio Code via the marketplace

Getting started

Please see the Getting started overview.

Troubleshooting

If you have issues during installation of .NET Runtime, please see here.

Develop

The extension consists of two parts: The VSCode extension itself (written in TypeScript) and a "backend" server process (written in C#), which provides a bridge to ILSpy functionality.

If first time

npm i @vscode/vsce -g

Compile and package all parts:

./buildtools/publish-backend
./buildtools/build-vsix

An installable .vsix file should be generated in artifacts folder, if everything is fine.

Compile only backend server from console:

cd backend
dotnet build

Run backend tests:

cd backend
dotnet test

Or open backend/ILSpy-backend.sln in Visual Studio 2022, Visual Studio Code or JetBrains Rider.

To develop and debug the VSCode extension, install Visual Studio Code, then run

cd vscode-extension
code .