[Mono-bugs] [Bug 66060][Min] New - AppDomain.AssemblyResolve event not emitted
Wed, 15 Sep 2004 20:45:00 -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 firstname.lastname@example.org.
--- shadow/66060 2004-09-15 20:45:00.000000000 -0400
+++ shadow/66060.tmp.26297 2004-09-15 20:45:00.000000000 -0400
@@ -0,0 +1,29 @@
+Product: Mono: Class Libraries
+Summary: AppDomain.AssemblyResolve event not emitted
+According to my reading of the MSDN docs, when a program tries to load an
+assembly that isn't found, the current AppDomain should emit an
+AssemblyResolve event. This doesn't seem to happen in CVS mono.
+This is probably related to the fact that the function DoAssemblyResolve in
+AppDomain.cs, which calls the AssemblyResolve delegates, is never called.
+(It is a private function.) Probably the assembly loading code was changed
+and this feature wasn't implemented.
+Sample program soon to be attached. I expect the message to be printed
+before an exception is thrown, but no message appears.