[Mono-dev] Loading AOT output using mono_domain_assembly_open

Robert Jordan robertj at gmx.net
Sat Nov 14 20:43:31 UTC 2015


On 14.11.2015 18:13, zebrajap wrote:
> Hi,
>
> I am trying to load the .so file generated by AOT.
> When the .dll is passed to mono_domain_assembly_open it returns the
> assembly. However when I pass the .so path, it returns NULL. Is there a
> different API for AOT assembly loading?

You're still supposed to pass the .dll to mono_assembly_open
or to any other API which expects assembly images.

The AOT machinery will load the .so transparently.

Robert




More information about the Mono-devel-list mailing list