[Mono-bugs] [Bug 75231][Nor] New - AppDomain AssemblyResolve event is not fired

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jun 11 10:38:10 EDT 2005

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 gert.driesen at pandora.be.


--- shadow/75231	2005-06-11 10:38:10.000000000 -0400
+++ shadow/75231.tmp.11876	2005-06-11 10:38:10.000000000 -0400
@@ -0,0 +1,68 @@
+Bug#: 75231
+Product: Mono: Runtime
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: AppDomain AssemblyResolve event is not fired
+For some reason, the AppDomain.AssemblyResolve event does not fire when 
+an assembly cannot be resolved for a type references in a non-default 
+To reproduce this issue, extract the attached gzipped tar archive and 
+run "make".
+Actual result:
+** (test.exe:18889): WARNING **: The following assembly referenced 
+from /home/monohead/mono-test-projects/runtime-bug/test.exe could not be 
+     Assembly:   ICSharpCode.SharpCvsLib    (assemblyref_index=2)
+     Version:    0.36.4902.7334
+     Public Key: (none)
+The assembly was not found in the Global Assembly Cache, a path listed in 
+the MONO_PATH environment variable, or in the location of the executing 
+assembly (/home/monohead/mono-test-projects/runtime-bug/).
+** (test.exe:18889): WARNING **: Missing method GetCvsDateString in 
+assembly /home/monohead/mono-test-projects/runtime-bug/test.exe, type 
+Unhandled Exception: System.Reflection.TargetInvocationException: 
+Exception has been thrown by the target of an invocation.
+Server stack trace: 
+Exception rethrown at [0]: 
+ ---> System.NullReferenceException: Object reference not set to an 
+instance of an object--- End of inner exception stack trace ---
+in (wrapper xdomain-invoke) System.AppDomain:DoCallBack 
+in (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack 
+in <0x001ac> EntryPoint:Main ()
+make: *** [run] Error 1
+Expected result:
+AssemblyResolve event fired!
+(this is the result you get on MS.NET)

More information about the mono-bugs mailing list