[Mono-list] System.Reflection.Assembly.Load question

Mad Fish MadFishTheOne at gmail.com
Thu Dec 10 16:21:06 EST 2009


It behaves differently from the one in Microsoft .NET.

When Mono loads several different assemblies that contains class, which is
named the same for all of them (fully-qualified name is the same:
Namespace.ClassName), it thinks that all these classes are equal. There is
no way to create instance of any class except the first one (from classes
with the same name).

Am I right?

However, Microsoft .NET allows that. This problem arised when porting
application from Microsoft .NET to Mono. That application used plugins. And
some plugins had similar class names, but in fact they were different.

How can I solve this (or, maybe, workaround?)
-- 
View this message in context: http://old.nabble.com/System.Reflection.Assembly.Load-question-tp26713004p26713004.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list