[Mono-bugs] [Bug 58244][Cri] Changed - mcs crashes in Mono Beta 2

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 6 Jun 2004 15:22:07 -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 diltonm@mccomsoft.com.

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

--- shadow/58244	2004-06-06 15:03:46.000000000 -0400
+++ shadow/58244.tmp.30647	2004-06-06 15:22:07.000000000 -0400
@@ -110,6 +110,23 @@
 
 ------- Additional Comments From diltonm@McCOMSoft.com  2004-06-06 15:02 -------
 I've updated the test and attached a new zip.
 
 ------- Additional Comments From diltonm@McCOMSoft.com  2004-06-06 15:03 -------
 Also updated that this is happening in Beta 2.
+
+------- Additional Comments From diltonm@McCOMSoft.com  2004-06-06 15:22 -------
+A workaround is to change this line in the build.cmd file:
+
+start mcs -t:module -out:Utils.dll Utils.cs
+
+to:
+
+start mcs -t:library -out:Utils.dll Utils.cs
+
+Apparently the compiler crashes because it expects Utils.dll to be a
+library not an assembly; the latter apparently is synonymous with module.
+
+Still, the compiler should not crash, it should provide a clear error
+message.
+
+