【问题标题】:Where is "ildasm" in Visual Studio 2019?Visual Studio 2019 中的“ildasm”在哪里?
【发布时间】:2019-12-04 23:31:09
【问题描述】:

我以前能够在 Visual Studio 2017 的开发人员命令提示符中运行 ildasm。在 Visual Studio 2019 中,ildasm 不再可用:

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.

是被其他东西取代还是我的 VS 2019 安装不完整?

【问题讨论】:

  • @JeroenMostert 我将 VS 2019 更新到 16.2 版,它解决了这个问题。谢谢!

标签: c# .net visual-studio ildasm


【解决方案1】:

ildasm.exe 与 Windows SDK 工具一起安装,位于 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ildasm.exe 或类似位置,具体取决于版本。

您可以从this website安装SDK,也可以在安装VS2019时在可选组件中选择。

【讨论】:

  • 我今天花了几个小时寻找 ILDASM。非常感谢!
  • 在 Visual Studio 安装程序的“工作负载”选项卡中,Windows 10 SDK 包含在通用 Windows 平台开发中。
【解决方案2】:

尝试直接从 Developer Command Prompt 2019/2017 中使用它

【讨论】:

  • 在 VS2019 中工作,无需安装其他任何东西。
猜你喜欢
  • 2021-10-27
  • 2021-02-13
  • 1970-01-01
  • 1970-01-01
  • 2020-05-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多