Hi,
I'm using DevArt Oracle EF provider from a NET 6 application using Entity Framework 6.4.
This is absolutely compatible because EF 6.4 support netstandard 2.1.
When running application I get the following exception:
System.TypeLoadException: 'Could not load type 'System.Security.Principal.WindowsImpersonationContext' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'
Please need help on it
Thanks in advance
Luigi
EF Oracle provider Exception
Re: EF Oracle provider Exception
With .NET 6 project, please use https://www.nuget.org/packages/devart.data.oracle.ef6 instead of the Devart.* assemblies shipped with the provider installation ( C:\Program Files (x86)\Devart\dotConnect\Oracle\ ).
If this doesn't help, send us a small test project for reproducing the issue via our contact form.
If this doesn't help, send us a small test project for reproducing the issue via our contact form.
-
- Posts: 2
- Joined: Wed 16 Feb 2022 11:11
Re: EF Oracle provider Exception
Hi thanks it works now.