[Mono-bugs] [Bug 40306][Wis] Changed - mono_assembly_open fails under WIN32 platform

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 26 Mar 2003 09:42:21 -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 imitko@openlinksw.co.uk.

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

--- shadow/40306	Wed Mar 26 08:57:39 2003
+++ shadow/40306.tmp.14107	Wed Mar 26 09:42:21 2003
@@ -143,6 +143,28 @@
 ------- Additional Comments From gonzalo@ximian.com  2003-03-26 08:57 -------
 "A little experiment with explorer on Windows XP shows that
 file://c:\temp is resolved correctly. "
 
 Yeah. Also mozilla does it. But the URL is changed to
 "file:///c:/temp" right after hitting <enter>.
+
+------- Additional Comments From imitko@openlinksw.co.uk  2003-03-26 09:42 -------
+so if glib routine working fine under win32 ,
+then IMHO it should be added somewhere in ASPX compiler or such (as i
+meet this problem when working with ASPX under Mono enviroment) ... 
+
+otherwise, MS .NET can open an assembly with wrong URI. 
+The following program compiled with csc working fine for me:
+
+using System;
+using System.Reflection;
+
+public class test
+{
+  public static void Main ()
+    {
+      Assembly a;
+      a = Assembly.LoadFrom ("file://c:/test/test.dll");
+      Console.WriteLine (a);
+    }
+}
+