Home > Back-end >  Mono.Cecil Read Assembly on Linux
Mono.Cecil Read Assembly on Linux

Time:04-08

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!

CodePudding user response:

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)

  • Related