[英]Oracle Data Provider for .NET with Entity Framework 6.0
I have a problem with Oracle Data Provider for .NET. 我对.NET的Oracle数据提供程序有问题。 I have: 我有:
I want to create a ASP.NET Web Application with Entity Framework 6.0. 我想使用Entity Framework 6.0创建ASP.NET Web应用程序。 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: 如果我打开一个旧项目,或者当我创建一个新项目并从Nuget Oracle.ManagedDataAccess和Oracle.ManagedDataAccessEntityFramework下载时,将显示:
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". 如果单击“确定”,则继续并基于Oracle创建一个模型,即使我遵循此链接,或者它在设置连接后崩溃并单击“下一步”,它始终表示我的EntityFramework不适合该提供程序。
What's wrong? 怎么了? Please help me.. 请帮我..
Thats how I solved it: 那就是我解决的方法:
Remove all folders wich names contains "Oracle" from: 从以下位置删除所有名称包含“ Oracle”的文件夹:
Windows\\Microsoft.NET\\assembly\\ Windows \\ Microsoft.NET \\ assembly \\
Windows\\assembly\\ Windows \\ assembly \\
Then restart Visual Studio and it will work. 然后重新启动Visual Studio,它将起作用。
I used cmd in administrator mode to do that, because explorer or other file managers did not allow me to remove that folders. 我在管理员模式下使用cmd来执行此操作,因为资源管理器或其他文件管理器不允许我删除该文件夹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.