[Mono-list] Loading assemblies from a different places

Robert Jordan robertj at gmx.net
Thu Apr 7 08:29:50 EDT 2011


On 07.04.2011 13:06, Sermus wrote:
> Sigh...
> Again, you're right, but one quite common exception must be considered. Two
> well designed components done by different people often become an ugly
> system after integrating with each other. This is a situation i'm in now.
> I understand that complaining is the last thing which could make the
> differerence in this situation, so i'm asking a piece of advice.
> Is there any way to make it load these assemblies as separate entities?
> I could suck the files in as byte arrays and then create an assembly from
> the byte array but in this situation they will lose their identity in terms
> of their location. And they have to know where they're located.

Give those assemblies different versions:

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.2.0.0")]
...

Robert



More information about the Mono-list mailing list