[Mono-list] Exception with DllMap on Windows

Andreas Färber andreas.faerber at web.de
Sat Apr 24 09:35:21 EDT 2010


Am 23.04.2010 um 15:20 schrieb Dimitar Dobrev:

> I am trying to use DllMap on Windows. I specified a <dllmap /> element
> under <configuration /> in MyApp.exe.config but the .NET Framework 2.0
> throws a ConfigurationErrorsException: "Configuration system failed to
> initialize" <- "Unrecognized configuration section dllmap.". I do  
> not want
> to use the config file of Mono for the purpose. In this case, is it  
> at all
> possible to use DllMap and if so, how?

Place the p/invokes in a separate .dll and create a .dll.config file  
with the dllmap. .NET used to care only about the .exe.config file.


More information about the Mono-list mailing list