Bug 52703 - When .exe to run depends on some .dlls that are not present, "Error: The classes in the module cannot be loaded."
Summary: When .exe to run depends on some .dlls that are not present, "Error: The clas...
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 4.8.0 (C9)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-02-23 12:52 UTC by Andres G. Aragoneses
Modified: 2017-02-23 12:52 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
EntityFramework tool (testcase) (57.68 KB, application/x-ms-dos-executable)
2017-02-23 12:52 UTC, Andres G. Aragoneses
Details

Description Andres G. Aragoneses 2017-02-23 12:52:28 UTC
Created attachment 19921 [details]
EntityFramework tool (testcase)

When the .exe to run depends on some .dlls that are not present,

Current results: "Error: The classes in the module cannot be loaded."

Expected results: I guess MS.NET throws TypeInitializationException with FileNotFoundException"foo.dll" as inner exception?

I'm attaching an .exe file (extracted from a VS EF tools folder from Windows) which reproduces this behaviour with Mono 4.2.1, 4.6.2 and 4.8.

Note You need to log in before you can comment on or make changes to this bug.