[Mono-bugs] [Bug 388425] New: Mono loads assembly from bin/ referenced in web. config regardless of its version number

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 8 15:35:18 EDT 2008


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


           Summary: Mono loads assembly from bin/ referenced in web.config
                    regardless of its version number
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: gunsh at neobee.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=213701)
 --> (https://bugzilla.novell.com/attachment.cgi?id=213701)
Files needed to reproduce bug

Consider the attached simple sample with the following files: Default.aspx,
web.config and bin/MySql.Data.dll. I have used MySql.Data but any other
assembly would do nicely. The assembly in question is NOT in gac.

Web.config references a particular version of the MySql.Data assembly. The
expected (MS) behavior is to only load assembly from bin/ if it matches the
version number as specified in web.config. On the other hand Mono loads the
assembly regardless of the version number of the file in bin/. To reproduce,
first run xsp2 and navigate to the unmodified sample to make sure it works. It
will output a simple message. Then change the version number to e.g. 5.2.1.1
and reload the browser.

The modified sample will run fine on Mono and will fail miserably on MS.NET.

I have tested both the official distribution 1.9.1 as well as SVN, both carry
the same bug.


-- 
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