[Mono-list] Loading assemblies from a different places

Sermus andrey.v.filimonov at gmail.com
Thu Apr 7 08:57:38 EDT 2011


:)
I don't own those assemblies. In such circumstances it would be easier to
rename the assembly file. But i can't do even this (due to the deployment
restrictions of the whole system).

I know i'm asking an annoying question, too many restrictions, but if they
were not here i'd already have a solution in my hands.

Andrey.

2011/4/7 Robert Jordan [via Mono] <
ml-node+3433212-806412664-228350 at n4.nabble.com>

> 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
>
> _______________________________________________
> Mono-list maillist  -  [hidden email]<http://user/SendEmail.jtp?type=node&node=3433212&i=0&by-user=t>
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono.1490590.n4.nabble.com/Loading-assemblies-from-different-places-tp3432917p3433212.html
>  To unsubscribe from Loading assemblies from different places, click here<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3432917&code=YW5kcmV5LnYuZmlsaW1vbm92QGdtYWlsLmNvbXwzNDMyOTE3fDQ2MTg3Nzg3MQ==>.
>
>


--
View this message in context: http://mono.1490590.n4.nabble.com/Loading-assemblies-from-different-places-tp3432917p3433313.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110407/83b15b4c/attachment-0001.html 


More information about the Mono-list mailing list