RickStrahl / Westwind.Globalization

Database driven resource localization for .NET applications
543 stars 135 forks source link

SqLite Data Provider - Misleading Error message #199

Open vinod-vetrivel opened 4 years ago

vinod-vetrivel commented 4 years ago

The below error occurs when the calling project doesn't have a reference to System.Data.Sqlite. This message instructs to use Microsoft's provider for .NET core projects. But it is misleading, as the Sqlite provider seems to have changed from Microsoft.Data.Sqlite to System.Data.Sqlite in Westwind.Utilities. The message may be changed to "Unable to load SqLite Data Provider. Make sure you have a reference to System.Data.SQLite"

https://github.com/RickStrahl/Westwind.Globalization/blob/a4d0b9a83489d81aeb41be648b019b2f62631b14/src/Westwind.Globalization/DbResourceDataManager/DbResourceDataManagers/DbResourceSqLiteDataManager.cs#L187

idimitrovski commented 4 years ago

Thanks mate, this pushed me in the right direction to configure the LocalizationAdmin for .Net Core 3.1 with SQLite.