[Mono-bugs] [Bug 59558][Nor] New - Wrong assembly is loaded when multiple choices are present

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 3 Jun 2004 11:42:56 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tberman@gentoo.org.

http://bugzilla.ximian.com/show_bug.cgi?id=59558

--- shadow/59558	2004-06-03 11:42:56.000000000 -0400
+++ shadow/59558.tmp.11971	2004-06-03 11:42:56.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 59558
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tberman@gentoo.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Wrong assembly is loaded when multiple choices are present
+
+In certain circumstances, when there is an assembly in the gac and in
+AppBase, the one in the gac is used incorrectly. For example, with our
+recent beta2 tarballs, it is relatively easy while upgrading to cause the
+following error:
+
+make[1]: Entering directory
+`/var/tmp/portage/monodoc-0.16/work/monodoc-0.16/cla ss'
+mono --debug ../browser/assembler.exe --ecmaspec ./../ecma334 -o ecma334
+
+** (../browser/assembler.exe:13550): WARNING **: Could not find assembly
+ICSharp Code.SharpZipLib, references from
+/usr/lib/mono/gac/monodoc/1.0.0.0__0738eb9f132 ed756/monodoc.dll
+(assemblyref_index=3)
+     Major/Minor: 0,31
+     Build:       0,0
+     Token:       1b03e6acf1164f73
+
+This is because ICSharpCode.SharpZipLib was changed to reflect its real
+version, and is 0.6.0.0 in beta2. ../browser/monodoc.dll should be used
+instead of the gac'd monodoc.dll.