Upgradin to .Net 10: System.PlatformNotSupportedException : Microsoft.Data.SqlClient is not supported on this platform
Summary The System.PlatformNotSupportedException is thrown when running tests in Azure after upgrading a .NET 8 project to .NET 10 and updating all NuGet packages. This error occurs despite adding the Microsoft.EntityFrameworkCore.SqlServer NuGet package directly to the project. Root Cause The root cause of this issue is that Microsoft.Data.SqlClient is not supported on the platform being … Read more