开发者

Dynamically choose Oracle.DataAccess version

Is there a way to build our web application to dynamically choose Oracle version? I think you can use binding redirect, but I am 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 on 32 bit systems and v. 2.112.1.0 on 64 bit systems.

I would really appreciate an example of how to set up the app references/web.con开发者_StackOverflow社区fig to dynamically choose this.


I know that the following solution is not what you're asking for... But you could rethink the approach to the problem, if you're sure that you just need to switch the oracle assembly version.

If this setting will not change after deployment you could modify web.config at install time using a simple script (e.g. in python): load the file and replace the correct node (do it in any language you prefer for this kind of admin tasks).

Regards, Giacomo

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜