本文介绍了.net-core:等效于 ILDASM/ILASM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.net-core 是否有等效的 ILDASM/ILASM?

Is there the equivalent of ILDASM / ILASM for the .net-core?

具体来说,我正在寻找可以在 Linux 上运行的东西(因此为什么是 .net-core).

Specifically, I'm looking for something that runs on Linux (Hence why the .net-core).

推荐答案

ildasm 和 ilasm 工具都是使用 CoreCLR 从这个 repo 构建的:https://github.com/dotnet/coreclr.它们包括与 Windows 附带的版本(无 GUI 等)类似的功能.

Both the ildasm and ilasm tools are built with CoreCLR from this repo: https://github.com/dotnet/coreclr. They include similar functionality as the versions shipped with Windows (sans GUI, etc.).

附带的 nuget 软件包也包含它们(https://www.nuget.org/packages?q=ildasm),但它们是特定于平台的,并且还需要使用匹配版本的 CoreCLR,因此通过 nuget 使用它们并不简单.在您的平台上运行它们的最简单方法是从 coreclr 存储库的源代码构建它们.

There are nuget packages shipped that include them as well (https://www.nuget.org/packages?q=ildasm), but they are platform-specific and also require a matching version of CoreCLR to use, so they are not straightforward to consume via nuget. The easiest way to run these on your platform is to just build them from source from the coreclr repo.

这篇关于.net-core:等效于 ILDASM/ILASM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-02 05:30