linux.net-coreildasmilasm

.net-core: Equivalent of ILDASM / ILASM


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


Solution

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