[Mono-bugs] [Bug 59175][Wis] New - MCS not reporting missing assembly correctly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 27 May 2004 08:36:50 -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 pbaena@uol.com.ar.

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

--- shadow/59175	2004-05-27 08:36:50.000000000 -0400
+++ shadow/59175.tmp.26619	2004-05-27 08:36:50.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 59175
+Product: Mono: Compilers
+Version: unspecified
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pbaena@uol.com.ar               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS not reporting missing assembly correctly
+
+I did a hand compilation of XSP on Windows with mono-0.91.99-win32-4.exe, 
+this way: 
+ 
+C:\Documents and Settings\Tetsuo\My Documents\xsp\server>mcs 
+IApplicationHost.c 
+ InitialWorkerRequest.cs MonoWorkerRequest.cs Tracing.cs 
+XSPApplicationHost.cs 
+SPWorkerRequest.cs server.cs -o xsp.exe 
+ 
+And I get this error: 
+ 
+MonoWorkerRequest.cs(98) error CS0246: Cannot find type 
+`SimpleWorkerRequest' 
+XSPWorkerRequest.cs(25) error CS0246: Cannot find type 
+`MonoWorkerRequest' 
+Compilation failed: 2 error(s), 0 warnings 
+ 
+ 
+That happens because I didn't put -r:System.Web.dll as a reference. Why 
+it didn't report the missing assembly instead of failing silently?