[Mono-bugs] [Bug 432643] New: Mono doesn't care about appliaction config' s probing entry.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 6 10:49:17 EDT 2008


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


           Summary: Mono doesn't care about appliaction config's probing
                    entry.
           Product: Mono: Runtime
           Version: 1.9
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: io-layer
        AssignedTo: dick at novell.com
        ReportedBy: paszczi at go2.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Setting application configuration to:
<?xml version="1.0" encoding="utf-8" ?>
  <configuration>
    <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <probing privatePath="modules"/>
      </assemblyBinding>
    </runtime>
  </configuration>

Should result in assemblies being searched also in "modules" directory, however
Mono doesn't act this way. Simple test case would be (let's assume that we have
assembly named Interfaces in file modules\Interfaces.dll):

Assembly.Load("Interfaces");

Throws exception on Mono that no such file could be found (on .NET assembly is
loaded from modules\Interfaces.dll)

Assembly.LoadFrom(@"modules\Interfaces.dll")

Works on both platforms as expected.


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


More information about the mono-bugs mailing list