Home All Groups Group Topic Archive Search About

side-by-side assemblies in single running application

Author
25 May 2006 1:18 AM
bobcat
I'm new to side-by-side assemblies, and was unable
to find any reference as to whether a single running
application can access multiple versions of a class.

For example, can I read a serialized object into an
old version, and use it to instantiate a new version
of the object?  (If this works, I assume supporting
many versions will work too.)

I'll be happy just to have the answer that it works.
But if anyone has an example, it would be greatly
appreciated!!!

BJ

Author
25 May 2006 2:57 AM
Shardool Karnik
BJ...

You should be able to use Assembly.LoadFrom("OLD_DLL");

check the link: http://www.gotdotnet.com/team/clr/LoadFromIsolation.aspx

- Shardool

Show quote
"bobcat" <notha***@hotmail.com> wrote in message
news:xB7dg.5912$3q2.962@tornado.rdc-kc.rr.com...
> I'm new to side-by-side assemblies, and was unable
> to find any reference as to whether a single running
> application can access multiple versions of a class.
>
> For example, can I read a serialized object into an
> old version, and use it to instantiate a new version
> of the object?  (If this works, I assume supporting
> many versions will work too.)
>
> I'll be happy just to have the answer that it works.
> But if anyone has an example, it would be greatly
> appreciated!!!
>
> BJ
>
>

AddThis Social Bookmark Button