[Mono-devel-list] Global dllmap entries?

Peter Williams peter at newton.cx
Mon Apr 11 20:52:55 EDT 2005


On Mon, 2005-04-11 at 18:57 +0200, Paolo Molaro wrote:
> A global dllmap may seem a simpler solution, but introduces
> changes in all the apps in ways that may not be predictable.

It would seem good to to give the app more control over how assemblies
can mess with it. Maybe reverse the direction of the map, so in
app.exe.config we have

<import-dllmap dll="libglib-2.0-0.dll" assembly="gtk-sharp.dll" />

which would import whatever mapping gtk-sharp.dll.config specifies for
libglib-2.0-0.dll. This way you can specify exactly which DLL maps your
app 'trusts'. (Eg, what if two referenced assemblies have conflicting
global-dllmap entries for the same DLL name?)

Peter

-- 
Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power




More information about the Mono-devel-list mailing list