
Whole-project decompilation (csproj, not sln!).Decompilation to C# (check out the language support status).Our Linux/Mac/Windows PowerShell cmdlets in this repository.Our dotnet tool for Linux/Mac/Windows - check out ILSp圜md in this repository.Our ICSharpCode.Decompiler NuGet for your own projects.Our Linux/Mac/Windows ILSpy UI based on Avalonia - check out.Our Visual Studio Code Extension repository | marketplace.Our Visual Studio 2017/2019 extension marketplace.Our Visual Studio 2022 extension marketplace.To enable, activate the setting "Enable Decompilation Support". C# for Visual Studio Code ships with decompilation support as well.Go to Tools / Options / Text Editor / C# / Advanced and check "Enable navigation to decompiled source" In Visual Studio 2019, you have to manually enable F12 support.Visual Studio 2022 ships with decompilation support for F12 enabled by default (using our engine v7.1).NET assembly browser and decompiler.ĭownload: latest release | latest CI build (master) | Microsoft Store (RC & RTM versions only) Decompiler FrontendsĪside from the WPF UI ILSpy (downloadable via Releases, see also plugins), the following other frontends are available: EnumerateFiles( path, "*.ILSpy is the open-source. IEnumerable EnumerateOutputFiles( string path) IEnumerable EnumerateInputFiles( string path) Var outputFiles = EnumerateOutputFiles( output). Var testFiles = EnumerateInputFiles( input). Void Run( string format, params object -82,11 +84,21 void Run(string format, params object args)īool DecompileDirectorySuccessed( string input, string output) True( EnumerateOutputFiles( TestOutputDirectory).



EnumerateFiles( TestOutputDirectory, " *.cs "). Readonly string _inputFileExtensions = new ", TestInputDirectory, TestOutputDirectory, ") Īssert. Diff line -12,6 +12,8 namespace CSharpDecompiler
