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

Reply via email to