[Mono-bugs] [Bug 77549][Wis] Changed - mcs crashes if a dependency of a referenced assembly is missing

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 14 05:32:45 EST 2006


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 flipper98 at gmx.net.

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

--- shadow/77549	2006-02-14 04:48:32.000000000 -0500
+++ shadow/77549.tmp.30946	2006-02-14 05:32:45.000000000 -0500
@@ -68,6 +68,17 @@
 runtime to throw an appropriate exception instead of aborting out.
 
 Actually, your use-case should probably be an error, even if B.dll is
 present.  IIRC, you need to reference each dependency of A.dll
 explicitly, i.e., you need -r:B.dll too.
 
+
+------- Additional Comments From flipper98 at gmx.net  2006-02-14 05:32 -------
+thanks for the fast reply!
+
+"IIRC, you need to reference each dependency of A.dll
+explicitly, i.e., you need -r:B.dll too."
+
+i dont think so. you only need to -r:B.dll if you consume types of
+B.dll in your _own_ code, i.e. it doesnt matter what references A.dll
+uses. beside that, the example compiles fine using ms csc (without
+specifying B.dll).


More information about the mono-bugs mailing list