Okay, added the NuGet package:

I checked also the build folder and the System.Data.SqlClient.dll is there, but the error is still the same:

If i call my DLL from a .Net-Core Wpf-App the error looks similar:

If i call it from a .Net-Framework App everything is fine.