AW: [Mono-list] Assembly.LoadFrom() - Assembly.CreateInstance() - Activator.CreateInstanceFrom() ---> invalid cast

Gonzalo Paniagua Javier gonzalo@ximian.com
Tue, 27 Jan 2004 10:31:31 +0100


El mar, 27-01-2004 a las 10:20, Jaroslaw Kowalski escribió:
>  
> file:///D:/ttt/A.1.dll
> file:///D:/ttt/A.1.dll
> file:///D:/ttt/a.DLL
> A.Y, a, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
> A.Y, a, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
> A.Y, a, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
> 2c21befd-5a3f-3d21-ab48-1c6c1361dc0b
> 2c21befd-5a3f-3d21-ab48-1c6c1361dc0b
> 2c21befd-5a3f-3d21-ab48-1c6c1361dc0b
> True
> False
> False
> 
> Note that LoadFrom("A.2.dll") caused A.1.dll to be loaded. Strange.

May be you compiled A.dll and then just renamed it to A.1.dll and copied
to A.2.dll. That will get you 2 different files with the same assembly
name.

-Gonzalo