[Mono-list] Assembly.Load Behavior difference, AssemblyName.FullName different

Jackson Harper jackson@ximian.com
Fri, 04 Jun 2004 08:06:21 -0700


Hello!

	The loading behavoir was fixed a couple of weeks ago. Running your test
on my machine with current CVS I get the same results as you do on MS.

	As for the fullname printing could you file a bug and mark it as
wishlist? This "bug" shouldn't affect anything except text output so it
will not be a very high priority bug.

Thank you very much,
Jackson


On Fri, 2004-06-04 at 04:32, Emiel van de Laar wrote:
> Hi all,
> 
> I was playing around with Assembly.Load and noticed a couple of 
> diffences in behaviour.
> 
> First the Assembly.FullName property emits different strings on Mono and 
> MS .NET. Mono emits the full four-part name (name, version, culture, 
> public key). Even if these values are not specified, default values are 
> emitted. On the MS .NET platform only the parts specified are emitted.
> I've yet to look what the spec says about this; perhaps both are permitted.
> 
> The two sessions attached to this mail show that using Assembly.Load 
> fails on Mono but works on MS .NET. I'm not sure if the 
> Assembly.FullName property has anything to with it.
> 
> BTW. Here some version info... I have not yet been able to try
> Mono Beta 2.
> 
> emiel@marvin:~/csharp/ass> mono --version
> Mono JIT compiler version 0.30.2, (C) 2002-2004 Novell, Inc. www.go-mono.com
> emiel@marvin:~/csharp/ass> mcs --version
> Mono C# compiler version 0.29.99.0
> 
> e.vandelaar@magion-38 /cygdrive/c/cruft
> $ csc
> Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
> for Microsoft (R) .NET Framework version 1.1.4322
> Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
> 
> Cheers,
> 
> Emiel