run multiple versions of the same assembly ?

  • Thread starter Thread starter Ashish
  • Start date Start date
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
 
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]
 
Back
Top