[Mono-list] dll with same name causes missing method exceptions
Dolapo M Falola
Tue, 25 May 2004 21:40:35 -0500
I believe this is the expected behavior. My initial problem was not
looking at assemblies as first class objects but more like jars.
I installed MS .net 1.1 sdk on my windows box and ran the same test.
This is the output I get:
Unhandled Exception: System.TypeLoadException: Could not load type
Namespace.A.ClassA from assembly ClassB, Version=0.0.0.0,
Hope this helps.
Erik Pukinskis wrote:
>>Executing: mono ClassB.exe
>>** (ClassB.exe:32278): WARNING **: Could not load class from token
>>0x01000002 in /home/dolapo/code/diffname/ClassB.exe
>>** (ClassB.exe:32278): WARNING **: Missing method .ctor in assembly
>>/home/dolapo/code/diffname/ClassB.exe typeref index 2
>>Unhandled Exception: System.NullReferenceException: A null value was
>>found where an object instance was required.
>>in (unmanaged) Namespace.B.ClassB:Main ()
> I've been having the exact same problem, and can't figure it out:
> I thought it was just a problem with my build environment, but maybe
> it's a bug with the beta. Perhaps one of us should file it in bugzilla.
> Mono-list maillist - Monofirstname.lastname@example.org