Skip to content

Commit 4e9db32

Browse files
Simplify "How to build" section, fix indentation on "Open ILSpy.sln in Visual Studio"
1 parent 1e4c9b3 commit 4e9db32

2 files changed

Lines changed: 13 additions & 38 deletions

File tree

.vsconfig

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,19 @@ How to build
4747
- Make sure Windows PowerShell (at least version) 5.0 or [PowerShell](https://github.com/PowerShell/PowerShell) 7+ is installed.
4848
- Clone the ILSpy repository using git.
4949
- Execute `git submodule update --init --recursive` to download the ILSpy-Tests submodule (used by some test cases).
50-
- Install Visual Studio (documented version: 18.0). You can install the necessary components in one of 3 ways:
51-
- Follow Microsoft's instructions for [importing a configuration](https://docs.microsoft.com/en-us/visualstudio/install/import-export-installation-configurations?view=vs-2022#import-a-configuration), and import the .vsconfig file located at the root of the solution.
52-
- Alternatively, you can open the ILSpy solution (ILSpy.sln) and Visual Studio will [prompt you to install the missing components](https://docs.microsoft.com/en-us/visualstudio/install/import-export-installation-configurations?view=vs-2022#automatically-install-missing-components).
53-
- Finally, you can manually install the necessary components via the Visual Studio Installer. The workloads/components are as follows:
54-
- Workload ".NET Desktop Development". This workload includes the .NET Framework 4.8 SDK and the .NET Framework 4.7.2 targeting pack, as well as the [.NET 10.0 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) (ILSpy.csproj targets .NET 10.0, but we have net472 projects too). _Note: The optional components of this workload are not required for ILSpy_
55-
- Workload "Visual Studio extension development" (ILSpy.sln contains a VS extension project) _Note: The optional components of this workload are not required for ILSpy_
56-
- Individual Component "MSVC v143 - VS 2022 C++ x64/x86 build tools" (or similar)
57-
- _The VC++ toolset is optional_; if present it is used for `editbin.exe` to modify the stack size used by ILSpy.exe from 1MB to 16MB, because the decompiler makes heavy use of recursion, where small stack sizes lead to problems in very complex methods.
58-
- Open ILSpy.sln in Visual Studio.
59-
- NuGet package restore will automatically download further dependencies
60-
- Run project "ILSpy" for the ILSpy UI
61-
- Use the Visual Studio "Test Explorer" to see/run the tests
62-
- If you are only interested in a specific subset of ILSpy, you can also use
63-
- ILSpy.Wpf.slnf: for the ILSpy WPF frontend
64-
- ILSpy.XPlat.slnf: for the cross-platform CLI or PowerShell cmdlets
65-
- ILSpy.AddIn.slnf: for the Visual Studio plugin
50+
- Install Visual Studio (documented version: 18.0/2026). You need the following workload components:
51+
- Workload ".NET Desktop Development". This workload includes the .NET Framework 4.8 SDK and the .NET Framework 4.7.2 targeting pack, as well as the [.NET 10.0 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) (ILSpy.csproj targets .NET 10.0, but we have net472 projects too).
52+
- Workload "Visual Studio extension development" (Note: ILSpy.VSExtensions.sln is separate from ILSpy.sln and thus this workload is optional)
53+
- Individual Component "MSVC v143 - VS 2022 C++ x64/x86 build tools" (or similar)
54+
- _The VC++ toolset is optional_; if present it is used for `editbin.exe` to modify the stack size used by ILSpy.exe from 1MB to 16MB, because the decompiler makes heavy use of recursion, where small stack sizes lead to problems in very complex methods.
55+
- Open ILSpy.sln in Visual Studio.
56+
- NuGet package restore will automatically download further dependencies
57+
- Run project "ILSpy" for the ILSpy UI
58+
- Use the Visual Studio "Test Explorer" to see/run the tests
59+
- If you are only interested in a specific subset of ILSpy, you can also use
60+
- ILSpy.Wpf.slnf: for the ILSpy WPF frontend
61+
- ILSpy.XPlat.slnf: for the cross-platform CLI or PowerShell cmdlets
62+
- ILSpy.AddIn.slnf: for the Visual Studio plugin
6663

6764
**Note:** Visual Studio includes a version of the .NET SDK that is managed by the Visual Studio installer - once you update, it may get upgraded too.
6865
Please note that ILSpy is only compatible with the .NET 10.0 SDK and Visual Studio will refuse to load some projects in the solution (and unit tests will fail).

0 commit comments

Comments
 (0)