In H2oRider - Does your application access Oracle dlls in the GAC? I recommend you the following: add a dll to your project and set the build action to "content" and set "copy to output directory" to "always copy".
Then remove the links (links) to the dll in the GAC. Re-add the link, but this time go to the one you just added to your project.
Now publish it. The application will look for the DLL locally, and the DLL will be included in the deployment to find it.
If this does not work, you may not be able to use this DLL if it is included locally and not in the GAC. This applies to some builds, such as Office PIA. In this case, the only way to deploy it is to wrap it in an installation and deployment package and use the Bootstrapper manifest generator to turn it into a prerequisite that you can publish when you deploy ClickOnce.
RobinDotNet Mar 29 '11 at 6:26 2011-03-29 06:26
source share