No matter what I do I get
Microsoft.Data.SqlClient is not supported on this platform
I tried downgrading the Entity Framework Core packages, the Xamarin.Forms package, changing the .net standard version etc.
Those are the package versions I'm running right now.
This is the code that causes the error:
using (var context = new DbRequestsContext())
{
var entries = from en in context.AllDbRequests select en;
foreach (var entry in entries)
{
HelperFunctions.ShowAlert(entry.Mesaj);
}
}
The code being written in PCL, .NET standard 2.1. I don't have any references to the Microsoft.Data.SqlClient package in my code, the only reference is for Microsoft.EntityFrameworkCore.SqlServer which I'm using to set the connection string.
