We had a problem with x64 / x86 when we first deployed Oracle.DataAccess.dll with our application on different servers with 64/32 bit Windows. Now that we have figured out how we can get the application to reference the correct version, I still have problems with the dll file that interferes with the deployment.
The situation is this: I have one project in my solution that references Oracle.DataAccess. I set the "copy local" property to False, because on the server I would like the application to use .dll from the GAC or another folder (it would be a 64-bit version instead of 32bit on the development machine). The DLL is not added to the bin output folder of the project, but is copied to the bin folder for the web application. When I deploy to our test server, it uses the dll from the bin folder instead of the dll from the Oracle installation folder on the server (i.e. C: \ oracle \ odp.net \ bin \ 4)
What can I do to NOT have a DLL in the bin folder?
source share