[Mono-bugs] [Bug 337654] New: [2.0] ResourceManager: AssemblyResolve should not fire for satellite assemblies

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 29 15:24:11 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=337654#c337467

           Summary: [2.0] ResourceManager: AssemblyResolve should not fire
                    for satellite assemblies
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at ximian.com
          Found By: ---


For some reason, on MS.NET 2.0 the AssemblyResolve event no longer fires when
you use ResourceManager.Get* for a given (non-neutral) culture.

The AssemblyResolve still fires when you using Assembly.GetSatelliteAssembly
though.

I'm not sure we should bother "fixing" our 2.0 behavior, since I think our
behavior makes more sense.

I just stumbled onto this issue while looking into bug #337467. If I have time,
I'll submit a bug against MS to ensure this behavior change in .NET 2.0 was
actually intended (and not a regression).

To reproduce, compile and run the attached source code.

Note:
when running against .NET 2.0 or Mono 2.0 profile, you need to pass the NET_2_0
symbol.


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