「ODP.NET, Managed Driver is a 100% native code .NET Framework driver for Oracle Database. No additional Oracle Client software is required to be installed to connect to Oracle Database.」
You do not mention which .NET you are using. I had the same error. I was building an app using the WebApi2, which uses the .NET Core 2.x instead of the .NET 4.x,