Hi All,
I struggle making the latest ODP.NET Core beta 1 release working in a .NET Core 2, WebApi new project. It all works well following the example on YouTube in a Console app but if I include a ref to the dll in a new .NET Core2 WebApi project I get the following error:
- System.IO.FileNotFoundException: 'Could not load file or assembly 'Oracle.ManagedDataAccess, Version=2.0.12.0, Culture=neutral, PublicKeyToken=89b483f429c47342'. The system cannot find the file specified
Also, the same issue occurs when I include the library in a .NET Standard 2 project – (this is really where I need it!!)
Any suggestions?
NOTE:
After creating many test projects it "all of a sudden worked" using a .NET Core 2 WebApi startup project which has a reference to a .NET Standard 2 project in which I reference the ODP.Net beta 1 dll. "Fantastic !!" I thought and then added a NuGet package (signalR) that I need and BANG!, the same error occurred again.
I removed the NuGet signalR but still the above error comes up - even when I recreate the Core 2 WebApi and a brand new Standard 2 project ... it simply doesn't work anymore - totally - full stop (only as a Console app).