Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Runtime DLL selection
Message
De
10/12/2004 11:25:54
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Dynamic Runtime DLL selection
Divers
Thread ID:
00968316
Message ID:
00968316
Vues:
52
Ok,

In our ASP.Net app we have classes we wrote which use the Crystal 9 managed code to print reports with RAS 9. For the next release we want to support RAS9 and RAS10.

Problem, the classes reference the Version 9 DLL's.

So, my thought is to create two projects/assemblies. One that uses version 9.0 and one that uses 10.0. This way, they API's in our classes are the same so our app can use either one an not care which version of Crystal is being used.

So, how do I do this. Two thoughts:

1. Create the two projects to create the same strongly named assemblies with the version differering to match the Crystal version. So, I will have Framework.Reporting.dll 9.0.0.0 and Framework.Reporting.dll 10.0.0.0. Each project would properly reference the correct version of Crystals code.

2. Create the two projects with different names, Framework.Reporting.9.dll and Framework.Reporting.10.dll with the same assembly version 2.1 to match our other framework assemblies.

Which is better, 1 or 2? Can I create two dlls that have the same fully qualified class names in them? How do I set the config of my ASP.Net ap to correctly reference the right version?

If some one can help, or point me to an article on doing something like this it would be much appreciated.

BOb
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform