[Mono-devel-list] more problems on the gentoo system

Jonathan Pryor jonpryor at vt.edu
Mon Jul 19 07:40:04 EDT 2004


On Sun, 2004-07-18 at 17:14, Chris Nuernberger wrote:
> I would like to know how to find out exactly where mono is looking for
> config information and I would also like to get mono to output errors if a
> dllmapping doesn't work for some reason.  

Mono uses a per-assembly .config file now.  It's in the same directory
as the assembly, with a .config file extension:

	/path/to/my-assembly.dll
	/path/to/my-assembly.dll.config

Notice that this is a Mono extension, as .NET doesn't use .config files
associated with libraries (DLLs).  But so is the entire <dllmap/>
mechanism, so who cares...

Consequently, if you want gdiplus.dll remapped, you need to find the
assemblies that DllImport gdiplus.dll and add a <dllmap/> entry to each
of their config files.

 - Jon





More information about the Mono-devel-list mailing list