Bugzilla – Bug 315812
Wrong runtime exception saying that there would be a dll missing
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by jwezel@compumaster.de 2004-08-17 10:26:42 MST ---- 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: ---- Additional Comments From jwezel@compumaster.de 2004-08-17 10:35:55 MST ---- Created an attachment (id=166660) ChilkatDotNet component which relies on Microsoft.VisualC ---- Additional Comments From gonzalo@ximian.com 2004-08-17 12:50:40 MST ---- Filing the same bug in three different incarnations will not make it be fixed earlier. *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO63217 *** Imported an attachment (id=166660) This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"