I'm upgrading a Blazor Server app (.NET 5) to WebAssembly and .NET 8, and moving it from on-site to Azure. In the process of upgrading it, I started getting the error :
System/Microsoft.Data.SqlClient is not supported on this platform (I tried both).
Neither came installed with the application when it was first built, and I used the Package Manager Console with:
install-package System.Data.SqlClient (Installed 4.8.5)
and
install-package Microsoft.Data.SqlClient (Installed 5.1.1)
And trying to do the same in a .NET 7 project didn't fix the issue either.
Any help would be greatly appreciated.