[Mono-bugs] [Bug 54043][Cri] Changed - undue reliance on mscorwks.dll in aspx assembly loading

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 12 Feb 2004 10:42:26 -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 lupus@ximian.com.

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

--- shadow/54043	2004-02-10 13:13:56.000000000 -0500
+++ shadow/54043.tmp.3065	2004-02-12 10:42:26.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 54043
 Product: Mono/Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEEDINFO   
+Status: CLOSED   
 Resolution: 
 Severity: Unknown
 Priority: Critical
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: liyul@hotmail.com               
@@ -68,6 +68,27 @@
 ------- Additional Comments From gonzalo@ximian.com  2004-02-10 10:16 -------
 Ensure that xsp is compiled with mcs and libraries compiled using the
 1.0 profile.
 
 ------- Additional Comments From spouliot@videotron.ca  2004-02-10 13:13 -------
 Could this be related to #54044 ?
+
+------- Additional Comments From lupus@ximian.com  2004-02-12 10:42 -------
+I think it can be related: if the program was compiled on .net 1.1
+(hence using v1.1.4322 as the version inside the PE file) and moved to a
+machine with 1.0 installed and run with the MS runtime the following 
+happens:
+
+the PE file loades the mscoree.dll library (because the entry point
+in the PE file has a call into it). The library looks in the file for
+the version and loads
+        c:\winnt\Microsoft.NET\Framework\$version\mscorwks.dll.
+Since that version of the runtime is not installed it fails (in the 
+beginning, assemblies produced by mono would not run on the MS runtime 
+because I put the mono version in there, hence I started hardcoding the 
+v1.0.3705 version instead).
+I guess the intent is to run the program with mono anyway, so the reason
+why the program is run with the MS runtime should be investigated.
+If the intent is to run the program with the MS runtime, the programs
+should be compiled by mcs, making sure it's run by mono.
+
+