Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Could not load file or assembly Microsoft.Data.SqlClient, Version=5.0.0.0

$
0
0

Facing following issue after deploying app to azure app service:

Unhandled exception. System.IO.FileNotFoundException: Could not loadfile or assembly 'Microsoft.Data.SqlClient, Version=5.0.0.0,Culture=neutral, PublicKeyToken=***********'. The system cannot findthe file specified.

Locally everything works as fine.Microsoft.Data.SqlClient presented in site/wwwroot

site/wwwroot

Runtime Stack: Dotnetcore - 6.0Main app and all class libs on .net6Server Operating System: Linux

Microsoft.Data.SqlClient presented as reference from Microsoft.EntityFrameworkCore.SqlServer (v.7.0.2)

Tried different kinds of Nuget Packages versions - still have same issueTried to install Microsoft.Data.SqlClient (latest version & 5.0.0.0) directly into projects - still the same


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>