Error during scaffolding wit .net-core 3
Posted: Thu 14 Nov 2019 11:41
I am trying to use .net-core 3 with Devart.Data.Oracle.EFCore by this article: https://www.devart.com/dotconnect/oracl ... html#nuget
I created new project, installed packages as the article said but Scaffolding ends up with an error:
My .csproj:
Does anyone else experienced this? Thank you
I created new project, installed packages as the article said but Scaffolding ends up with an error:
My Scaffold cmd:Unable to resolve service for type 'Microsoft.EntityFrameworkCore.Diagnostics.LoggingDefinitions' while attempting to activate 'Microsoft.EntityFrameworkCore.Scaffolding.Internal.RelationalScaffoldingModelFactory'.
Code: Select all
Scaffold-DbContext "User Id=<user>;
Password=<pswd>;
Server=<IP>;
Direct=True;
Sid=<db>;
Port=<port>;
license key=<reallyLoooongKey>" Devart.Data.Oracle.Entity.EFCore -Tables <FooTable>
Code: Select all
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Devart.Data.Oracle.EFCore" Version="9.9.872" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>