Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is "ildasm" in Visual Studio 2019?

I used to be able to run ildasm in the Developer Command Prompt for Visual Studio 2017. With Visual Studio 2019, ildasm is no longer available:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>ildasm
'ildasm' is not recognized as an internal or external command,
operable program or batch file.

Was it replaced with something else or is my VS 2019 installation incomplete?

like image 743
redcurry Avatar asked Jul 26 '19 15:07

redcurry


People also ask

How do I open Ildasm in Visual Studio?

Navigate to Tool menu, and now you should be able to see the “ILDASM (IL Disassembler )” option along with all other external tool. Click on “ILDASM (IL Disassembler )” to open the Tool directly from the Visual Studio.

Where is Ildasm located?

I've found online that ildasm.exe is supposed to be located at C:\Program Files (x86)\Microsoft SDKs\Windows\v10. 0A\bin\NETFX 4.6.

How do I run Ildasm?

To use the GUI, type ildasm at the command line without supplying the PEfilename argument or any options. From the File menu, you can navigate to the PE file that you want to load into Ildasm.exe. To save the metadata and disassembled code displayed for the selected PE, select the Dump command from the File menu.

What is Ildasm in C#?

Consider using the Intermediate Language Disassembler (ILDasm) when you need to convert CIL code into text. ILDasm is a CIL disassembler provided in C# that is used to view the assembly content of all classes and methods available in . NET application. It is available in Visual Studio and . NET SDK.


1 Answers

ildasm.exe is installed with the Windows SDK tools, located in C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ildasm.exe or somewhere similar depending on the version.

You can install the SDK from this website or by selecting it in the optional components during the installation of VS2019.

like image 78
dee-see Avatar answered Oct 20 '22 01:10

dee-see