I'm trying (YES. TRYING.) to set up a Core 3.1 web api project in VS2019 that would include EF Core (DB 1st). I'm having a miserable time.
I run Scaffold-DbContext and I get an exception: Microsoft.Data.SqlClient is not supported on this platform.
If I remove the reference, then get an exception that says I have to reference Microsoft.Data.SqlClient.
WTAH?
The version for the SqlClient dll is 1.0.19269.1
Somebody help me. Put me out of my misery.