[Mono-devel-list] Proposal: Library Loading
Rachel Hestilow
lists at nullenvoid.com
Tue Apr 13 21:50:18 EDT 2004
Jonathan Pryor wrote:
>This is what I was attempting to answer: how do we know which library
>version to load? We might not be able to support loading all potential
>library versions, but we can AT LEAST make sure that we'll load the
>library that the assembly was written against, providing some measure of
>sanity and safety.
>
> - Jon
>
>
An idea:: Perhaps the config format could be extended so that DLL
mappings could optionally specify an assembly for which the mapping
would be applied?
For example: Let's say all your apps except MyLegacyApp link against
version 2 of a library. MyLegacyApp links against version 1. You could
then add something like this to conf.d:
<library>
<!-- Generic DLL mapping -->
<dll import="libfoo" target="libfoo.so" version="2" />
<!-- Custom DLL mapping for MyLegacyApp -->
<dll import="libfoo" target="libfoo.so" version="1"
assembly="MyLegacyApp.exe" />
</library>
-- Rachel
More information about the Mono-devel-list
mailing list