To update the reference to the Oracle library:
Open the repos for the project being deployed.
Right click the project in the “Solution explorer”.
Example:Select “Properties” from the context menu.
Example:
4. In the reference ensure that Oracle.DataAccess is set to the correct library ODP for local and GAC for Deployments.
...
The appropriate library can be selected by using the buttons at the bottom of the reference form.
Once the references have been added a first time, if you need to switch, select “Remove” and then select the appropriate library, according to your purpose (local or a deployment.
...