DLL reference issue and Devart.Data.Oracle.Entity.EFCore
Posted: Fri 07 Jul 2017 08:58
Using the .NET Standard NuGet Devart.Data.Oracle.Entity.EFCore, Version=9.4.299.0
The NuGet reference and pulls in Microsoft.EntityFrameworkCore v1.1.2. Problem is that the DLL (Devart.Data.Oracle.Entity.EFCore.dll) actually references v1.1.1 (opened in DotPeek).
This means the wrong version of "Microsoft.EntityFrameworkCore.dll" is packaged on build, which results in the following exception:
Could not load file or assembly 'Microsoft.EntityFrameworkCore, Version=1.1.1.0, Culture=neutral, PubblicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
The NuGet reference and pulls in Microsoft.EntityFrameworkCore v1.1.2. Problem is that the DLL (Devart.Data.Oracle.Entity.EFCore.dll) actually references v1.1.1 (opened in DotPeek).
This means the wrong version of "Microsoft.EntityFrameworkCore.dll" is packaged on build, which results in the following exception:
Could not load file or assembly 'Microsoft.EntityFrameworkCore, Version=1.1.1.0, Culture=neutral, PubblicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.