[Pkg-mono-svn-commits] [mono] 01/05: Don't remap all versions of Npgsql to 4.0.0.0

Jo Shields directhex at moszumanska.debian.org
Wed Feb 17 10:36:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to branch master
in repository mono.

commit d2d5aeb9223c1a891458afe7cfe268b70ef3f331
Author: Jo Shields <jo.shields at xamarin.com>
Date:   Mon Feb 15 14:12:52 2016 +0000

    Don't remap all versions of Npgsql to 4.0.0.0
    
    Mono has a list of assemblies considered "internal", whose versions are automatically remapped to the distro default version.
    
    Since we no longer bundle Npgsql, it is up to individual distributions to package their own Npgsql - but Mono cannot load any version other than 4.0.0.0 from the GAC, due to this remapping:
    
    Mono: Assembly Ref addref npghello[0x17e2fd0] -> mscorlib[0x1789c00]: 2
    Mono: The request to load the assembly Npgsql v2.2.7.0 was remapped to v4.0.0.0
    Mono: Assembly Loader probing location: '/usr/lib/mono/gac/Npgsql/4.0.0.0__5d8b90d52f46fda7/Npgsql.dll'.
    
    Npgsql, Version=2.2.7.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7
---
 mono/metadata/assembly.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mono/metadata/assembly.c b/mono/metadata/assembly.c
index a22d2b9..6a2c9ee 100644
--- a/mono/metadata/assembly.c
+++ b/mono/metadata/assembly.c
@@ -105,7 +105,6 @@ static const AssemblyVersionMap framework_assemblies [] = {
 	{"Mono.Security.Win32", 0},
 	{"Mono.Xml.Ext", 0},
 	{"Novell.Directory.Ldap", 0},
-	{"Npgsql", 0},
 	{"PEAPI", 0},
 	{"System", 0},
 	{"System.ComponentModel.Composition", 2},

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/mono.git



More information about the Pkg-mono-svn-commits mailing list