[Mono-bugs] [Bug 672435] New: Missing System.BadImageFormatException when an assembly is built by a runtime newer than the currently loaded runtime

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 16 03:30:17 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=672435

https://bugzilla.novell.com/show_bug.cgi?id=672435#c0


           Summary: Missing System.BadImageFormatException when an
                    assembly is built by a runtime newer than the
                    currently loaded runtime
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Mono runtime allow broken assembly binding instead of
System.BadImageFormatException cause hard to track problems later.

In this simple example System.BadImageFormatException is expected.

Mono
<no error>

NET

Unhandled Exception: System.BadImageFormatException: Could not load file or
assembly 'bug-1-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or
one of its dependencies. This assembly is built by a runtime newer than the
currently loaded runtime and cannot be loaded.
File name: 'bug-1-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
   at Program.Main()

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list