Dynamically select Oracle.DataAccess version

Is there any way to create our web application for dynamically selecting Oracle version? I think you can use binding redirects, but I'm not sure if it requires the versions to be in the GAC (our assemblies are not GAC'ed)

We need to use Oracle.DataAccess v. 2.102.4.0 for 32-bit systems and v. 2.112.1.0 on 64-bit systems.

I would really like an example of how to configure links to /web.config applications to dynamically select this.

+4
source share
1 answer

I know that the following solution is not what you are asking for ... But you can reconsider the approach to the problem , if you are sure that you just need to switch the version of the oracle assembly .

If this parameter does not change after deployment, you can change web.config during installation using a simple script (for example, in python): download the file and replace the correct node (do it in any language that you prefer for such administrator tasks).

Regards, Giacomo

0
source

All Articles