Author: gonzalo
Date: 2005-04-25 16:16:18 -0400 (Mon, 25 Apr 2005)
New Revision: 43561
Modified:
trunk/mcs/tools/mkbundle/ChangeLog
trunk/mcs/tools/mkbundle/mkbundle.cs
Log:
2005-04-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* mkbundle.cs: GetReferencedAssemblies () will not report CodeBase, so
load the assembly and get it from there. Fixes bug #74695.
Modified: trunk/mcs/tools/mkbundle/ChangeLog
===================================================================
--- trunk/mcs/tools/mkbundle/ChangeLog 2005-04-25 20:02:28 UTC (rev 43560)
+++ trunk/mcs/tools/mkbundle/ChangeLog 2005-04-25 20:16:18 UTC (rev 43561)
@@ -1,3 +1,8 @@
+2005-04-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * mkbundle.cs: GetReferencedAssemblies () will not report CodeBase, so
+ load the assembly and get it from there. Fixes bug #74695.
+
2004-04-09 James Willcox <[EMAIL PROTECTED]>
* template.c: allocate the correct amount of memory for newargs
Modified: trunk/mcs/tools/mkbundle/mkbundle.cs
===================================================================
--- trunk/mcs/tools/mkbundle/mkbundle.cs 2005-04-25 20:02:28 UTC (rev
43560)
+++ trunk/mcs/tools/mkbundle/mkbundle.cs 2005-04-25 20:16:18 UTC (rev
43561)
@@ -311,8 +311,10 @@
if (!autodeps)
return;
- foreach (AssemblyName an in a.GetReferencedAssemblies ())
- QueueAssembly (files, an.CodeBase);
+ foreach (AssemblyName an in a.GetReferencedAssemblies ()) {
+ a = Assembly.Load (an);
+ QueueAssembly (files, a.CodeBase);
+ }
}
static Assembly LoadAssembly (string assembly)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches