'Mono.Cecil Read Assembly on Linux

I need to reference a dotnet runtime assembly with Mono.Cecil on a Linux Machine. This is a 2 part question.

  1. Where are the dotnet runtime assemblies stored on Linux (assuming it's an .so file)
  2. Does the Mono.Cecil.AssemblyDefinition::ReadAssembly() method accept .so files?

Thanks!



Solution 1:[1]

Where are the dotnet runtime assemblies stored on Linux (assuming it's an .so file)

You're assuming wrong, assemblies are stored as .dll files.

Does the Mono.Cecil.AssemblyDefinition::ReadAssembly() method accept .so files?

No, it works with .Net assembly files (.dll)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Blindy