run multiple versions of the same assembly ?

A

Ashish

hi Guys

Can u plz provide me some code/link where i can find hw to run multiple
versions of the same assembly?

Regards
Ashish
 
R

Richard Blewett [DevelopMentor]

You *want* to do this? most people find that this is something they try to avoid! It can cause pain when attempting to pass Person from version 1 where Person from version 2 is expected, etc

Assembly av1 = Assembly.Load("Foo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=aabbccddeeff112233");

Assembly av2 = Assembly.Load("Foo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=aabbccddeeff112233");

will do it

Regards

Richard Blewett - DevelopMentor

http://staff.develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<[email protected]>

hi Guys

Can u plz provide me some code/link where i can find hw to run multiple
versions of the same assembly?

Regards
Ashish



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 10/09/2004



[microsoft.public.dotnet.languages.csharp]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top