Mono.Cecil Read Assembly on Linux

116 Views Asked by At

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!

1

There are 1 best solutions below

1
Blindy On BEST ANSWER

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)