After fixing my problem as mentioned here I am getting the below exception
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Data.SqlClient, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.'
My library is a .NET Standard 1.4 and the WebApp is .NET Framework 4.6.1
System.Data.SqlClient is version - 4.3.0 NuGet package. So I tried doing the below but in vain:
<dependentAssembly>
<assemblyIdentity name="System.Data.SqlClient" culture="neutral" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="4.1.0.0" newVersion="4.3.0.0"/>
</dependentAssembly>