[Mono-devel-list] System assembly remapping

Gert Driesen gert.driesen at pandora.be
Wed Feb 2 00:14:47 EST 2005


 

> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com 
> [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of 
> Lluis Sanchez
> Sent: vrijdag 28 januari 2005 15:17
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-devel-list] System assembly remapping
> 
> Hi,
> 
> The following patch implements system assembly version 
> remapping, which
> is required to run applications that reference assemblies 
> compiled with
> an old framework version.
> 
> With the patch, when an assembly tries to load a system assembly that
> does not match the current runtime version, it will be remapped to the
> assembly expected by the runtime. This was partially supported by the
> runtime (with mapping from 1.0.3300 to 1.0.5000) but the new
> implementation supports mapping from any framework version, and works
> when assemblies are dynamically loaded using reflection.

I'm not sure if this would be really necessary. I think MS allows a .NET 1.1
corlib to be loaded on .NET 2.0 using reflection.

Perhaps having this remapping in place when resolving assembly references is
enough.  Need to verify this though.

> The list of system assemblies to which remapping is applied is hard
> coded in assembly.c, but it might be worth to read it from a
> configuration file.

Any chance this will be part of the 1.1.4 release ?

Gert




More information about the Mono-devel-list mailing list