[Mono-bugs] [Bug 660570] mcs.exe cannot reference Rhino.Mocks due to invalid assembly name

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 20 14:38:59 EST 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=660570#c1


Marek Safar <msafar at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|C#                          |CORLIB
         AssignedTo|msafar at novell.com           |mono-bugs at lists.ximian.com
            Product|Mono: Compilers             |Mono: Class Libraries

--- Comment #1 from Marek Safar <msafar at novell.com> 2010-12-20 19:38:59 UTC ---
class A
{
    public static void Main ()
    {
        new System.Reflection.AssemblyName ("Foo,
PublicKey=00000000000000000400000000000000");
    }
}

This throws on mono

Unhandled Exception: System.IO.FileLoadException: The assembly name is invalid.
  at System.Reflection.AssemblyName..ctor (System.String assemblyName)
[0x00000] in <filename unknown>:0 
  at A.Main () [0x00000] in <filename unknown>:0

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