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: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs