Hi,

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.

Andreas

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to