Relative Content

Tag Archive for c#.net-8.0.net-4.8.net-standard-2.0system.data.sqlclient

Exception Using DLL with System.Data.SqlClient in .NET Framework 4.8 Application

I’m encountering an issue when trying to use a DLL that targets .NET Standard 2.0 and utilizes System.Data.SqlClient 4.8.6 in an application that targets .NET Framework 4.8. The application throws an exception stating that “SqlClient does not support this platform.” Interestingly, when I use the same DLL in an application targeting .NET 8, it works without any issues.