http://bugzilla.novell.com/show_bug.cgi?id=630773

http://bugzilla.novell.com/show_bug.cgi?id=630773#c0


           Summary: Type::Assembly loads dependant dll
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


using System;
using System.Reflection;

class Program {
    static void Main ()
    {
        Assembly asm = Assembly.Load("bug-0-lib");
        Type t = asm.GetType("X");

        Console.WriteLine (t.Assembly);
        Console.WriteLine (t.Module);
    }
}


NET

bug-0-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
bug-0-lib.dll

Mono

Could not load file or assembly 'bug-1-lib, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null' or one of its dependencies.

Unhandled Exception: System.TypeLoadException: Could not load type 'X' from
assembly 'bug-0-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
  at (wrapper managed-to-native) System.MonoType:get_Assembly
(System.MonoType*)
  at Program.Main () [0x00000] in <filename unknown>:0 


This blocks MD compilation

-- 
Configure bugmail: http://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