For some reason I'm getting this error. Below are the specs and then what I did.
Visual Studio 2017 v15.6.2
SQL Server 2008 v10.50.4
I opened the package manager console and added the following packages...
Install-Package Microsoft.EntityFrameworkCore.SqlServer
Install-Package Microsoft.EntityFrameworkCore.Tools
and then I ran
Scaffold-DbContext "Server=ph2srv76;Database=AVDRS;Integrated Security=True;Trusted_Connection=True;" -Provider Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -force
but during the build I get the following errors...
I hate to post the obvious, but in my case (same error) I was targeting specific tables to model (with -t option) and didn't realize that the table names are case sensitive. Doh!
Those are just warnings (yellow), not errors(red) - you can safely ignore them
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With