简体   繁体   中英

Oracle Data Provider for .NET with Entity Framework 6.0

I have a problem with Oracle Data Provider for .NET. I have:

  • just disinstalled and reinstalled new version of Oracle, I have now 12.1.0
  • Visual Studio 2015
  • Oracle Developer Tool for Visual Studio

I want to create a ASP.NET Web Application with Entity Framework 6.0. If I open one of my old projects or when I create a new one and download from Nuget Oracle.ManagedDataAccess and Oracle.ManagedDataAccessEntityFramework this appears:

在此处输入图片说明

and if I click OK, I continue and create a model based on Oracle it always says that my EntityFramework is not correct for that provider even if I followed this link or it crashes after setting the connection and click "Next".

在此处输入图片说明

在此处输入图片说明

What's wrong? Please help me..

Thats how I solved it:

Remove all folders wich names contains "Oracle" from:

  1. Windows\\Microsoft.NET\\assembly\\

  2. Windows\\assembly\\

Then restart Visual Studio and it will work.

I used cmd in administrator mode to do that, because explorer or other file managers did not allow me to remove that folders.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM