[Mono-dev] mono_method_desc_search_in_image problem, and some question...

Robert Jordan robertj at gmx.net
Wed Feb 21 21:57:09 UTC 2018

On 21.02.2018 11:20, pierre wrote:
> Hi,
> Anyone about this??
> if I run "mono_domain_unload(domain);"
> and after do
> assembly = mono_assembly_load_from_full(image, referenceName, &status, 
> it is not working properly if referenceName is kept from one launch to 
> the next...

This is by design:


The runtime keeps an image cache indexed by the image name (which is
usually the fully specified file name, IIRC).

Use mono_image_open_from_data_full () which automatically generates
an unique file name for the image. The file name of data images is
not that important after all. It just have to be unique.


More information about the Mono-devel-list mailing list