[Mono-devel-list] Global dllmap entries?

Miguel de Icaza miguel at novell.com
Mon Apr 11 12:26:25 EDT 2005


> >     The issue at hand is that gtk-sharp ships with a config file that
> > maps the libgtk-win32-etc.dll name to the proper name on the underlying
> > OS.  And I would like third party apps to be able to consume this
> > binding as opposed to introducing the logic on every application that
> > needs to bind an API from Gtk+ that might not be bound.
> Can't we just say that if you pull in gtk-sharp.dll from the GAC, that
> you automatically pull in gtk-sharp.dll.config from the GAC too? (And
> can't we just store the .config file as a resource inside gtk-sharp.dll
> rather than as a separate file? Or would that be at the wrong level of
> abstraction for the vm to be able to find it?)

The config file is already being pulled, but Mono only resolves the dll
mappings for Dllimports done from that assembly.

What I want to have is a new keyword global-dllmap that would insert the
mapping into the global mapping table as opposed to the local assembly
mapping table.

More information about the Mono-devel-list mailing list