[Mono-bugs] [Bug 50469][Maj] New - Assembly.GetName().CodeBase is "" when it must be something else
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 2 Nov 2003 19:04:22 -0500 (EST)
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 yoros@wanadoo.es.
http://bugzilla.ximian.com/show_bug.cgi?id=50469
--- shadow/50469 2003-11-02 19:04:22.000000000 -0500
+++ shadow/50469.tmp.5193 2003-11-02 19:04:22.000000000 -0500
@@ -0,0 +1,25 @@
+Bug#: 50469
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: yoros@wanadoo.es
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Assembly.GetName().CodeBase is "" when it must be something else
+
+When the following code is executed in MS.NET, it prints out the URI of the
+named assembly, in MONO we get "".
+
+Console.WriteLine(Assembly.Load("corlib").GetName().CodeBase);
+
+In the other hand if I access to GetReferencedAssemblies (that is a
+AssemblyName[]), I can get CodeBase for that AssemblyNames.