Could not load file or assembly System.Data.SqlClient, Version=4.2.0.2 when I use System.Data.SqlClient Version 4.4.3
Don't know whether this is the same situation that I faced. I added System.Data.SqlClient via nuGet and it worked fine.
Downgraded to
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.6" />
and everything works again! Lost 4 hours today!!!