Bug 315812 (MONO63222) - Wrong runtime exception saying that there would be a dll missing
Summary: Wrong runtime exception saying that there would be a dll missing
Status: RESOLVED MOVED
Alias: MONO63222
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Red Hat 9.0
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 17:26 UTC by Jochen Wezel
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
ChilkatDotNet component which relies on Microsoft.VisualC (940.40 KB, application/octet-stream)
2004-08-17 17:35 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:50:50 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"