[Mono-bugs] [Bug 63222][Wis] New - Wrong runtime exception saying that there would be a dll missing

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 17 Aug 2004 10:26:42 -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 jwezel@compumaster.de.

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

--- shadow/63222	2004-08-17 10:26:42.000000000 -0400
+++ shadow/63222.tmp.3364	2004-08-17 10:26:42.000000000 -0400
@@ -0,0 +1,82 @@
+Bug#: 63222
+Product: Mono: Runtime
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jwezel@compumaster.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Wrong runtime exception saying that there would be a dll missing
+
+The current behaviour might be subject of following situation:
+When using Chilkat component, we get no compile errors but 2 runtime 
+exceptions when we start our application.
+
+Here my test scenario:
+
+[root@lwezel wwwroot]# cat test2.cs
+public class Test
+{
+string ebbes="";
+void UT()
+{
+//System.Object MyMail = new Chilkat.Email();
+Chilkat.Email MyEMail; //= new Chilkat.Email();
+}
+
+public static void Main ()
+{
+System.Console.WriteLine ("Jepp");
+}
+
+}
+[root@lwezel wwwroot]# mcs test2.cs /r:ChilkatDotNet.dll
+Compilation succeeded
+[root@lwezel wwwroot]# mono test2.exe
+
+** (test2.exe:30647): WARNING **: Could not find assembly 
+Microsoft.VisualC, references from /mono-
+dev/wwwroot/ChilkatDotNet.dll (assemblyref_index=1)
+     Major/Minor: 7,0
+     Build:       3300,0
+     Token:       b03f5f7f11d50a3a
+
+
+** (test2.exe:30647): WARNING **: Could not find assembly 
+ChilkatDotNet, references from /mono-dev/wwwroot/test2.exe 
+(assemblyref_index=1)
+     Major/Minor: 4,9
+     Build:       0,0
+     Token:       16dba5cb7b161beb
+
+cannot open assembly test2.exe
+[root@lwezel wwwroot]#
+
+
+Description of Problem:
+In fact, the second exception is definitely wrong because the assembly is 
+there. Only the first exception is correct.
+
+Steps to reproduce the problem:
+1. download Chilkat component
+2. compile and run as in sample
+
+Actual Results:
+A second error message saying ChilkatDotNet.dll wouldn't be there but 
+which is there.
+
+Expected Results:
+Only one error message saying that Microsoft.VisualC cannot be found.
+
+How often does this happen? 
+Always
+
+Additional Information: