Where is "ildasm" in Visual Studio 2019?

redcurry picture redcurry · Jul 26, 2019 · Viewed 12.8k times · Source

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?

Answer

dee-see picture dee-see · Jul 26, 2019

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.