[Mono-list] Embedded Mono, Loading assemblies that also have a .config file

efontana eric at fontanas.net
Fri Feb 24 17:18:00 UTC 2012

Can someone please help me here:

I'm using Embedded Mono, I've got an assembly that uses WCF services, so the
.DLL also has a .DLL.CONFIG
file associated with it.

I load the assembly with *mono_domain_assembly_open*, but this does not load
the .DLL.CONFIG file associated with it.

I don't think I want *mono_config_parse*, but I need to have the .DLL.CONFIG
file loaded 
for the WCF service to find it's endpoint configuration data.

I did notice however, if the assembly that I load is an .exe it does load
the .exe.config file?

What's the correct way to have it load.  It needs to be loaded such that
will resolve the endpoint strings its looking for in the Constructor.

View this message in context: http://mono.1490590.n4.nabble.com/Embedded-Mono-Loading-assemblies-that-also-have-a-config-file-tp4417961p4417961.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list