Hello
We have a number of Visual Studio Projects (c#) using ODP.NET. Often ODP.NET is not installed in the same location on the development machine and where the runtime executable will eventually live.
What is the best way to add the reference to Oracle.DataAccess.Client to the project. Som projects just add the dll from where it happens to be installed on the development machine. It will be read from GAC at runtime anyway, I believe.
Other projects copy the dll to a folder inside the project and add it from there. This works as well.
Others add the one in the GAC (from Assemblies, Extensions in the add ref dialog), but it is not always available there.
What is the best way to do it ?
Does it matter at all, as long as the same (or higher) version is installed on the machine where the executable will run?
What does really happen when you add the reference, does it only read metadata from the assembly when adding the ref, or is there more going on?
Regards Niels Jespersen