.net-core: Equivalent of ILDASM / ILASM

前端 未结 4 613
时光取名叫无心
时光取名叫无心 2021-02-05 15:05

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

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

4条回答
  •  醉话见心
    2021-02-05 15:41

    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.).

    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.

提交回复
热议问题