[Mono-dev] Invoking .net interface method from c api

zebrajap zebrajap at yahoo.com
Fri Aug 21 09:43:30 UTC 2015

Oh. I got your point.

The build output have System.dll in multiple places.


I was loading it from ./lib/mono/4.0/System.dll. I am loading it as follows.

	mono_set_dirs("<Build Path>/lib", "<Build Path>/etc");
	pDomain = mono_jit_init_version("BuildDomain", "v4.0.30319" ); // Init the
JIT Engine 
	MonoAssembly* pSystemAssembly = mono_domain_assembly_open (pDomain, "<Build
	pSystemImage = mono_assembly_get_image (pSystemAssembly);

The file in gac seems to have the implementation.
How to make it load from gac without providing absolute path? Please note
that I cannot install it here.

Thanks for all the help so far.

View this message in context: http://mono.1490590.n4.nabble.com/Invoking-net-interface-method-from-c-api-tp4666493p4666514.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list