YES, I have added the System.Data.Sqlite.dll to my project (VS2012). YES, I have added a reference. YES, I have doublechecked, that the reference has been created (Reference Properties > Path is correct). YES, I have used Google, Bing,
NO, I don't know why my code won't compile.
If it was installed with nuget, execute the following command in the Package Manager Console :
Update-Package –reinstall System.Data.SQLite
In VS2013, you can find this console in the menu View > Other Windows > Package Manager Console.
As stated in a comment, this error happens if your project is configured to use Net45 when installing the package and some time after you configure it to use Net40.
I guess that the reverse case, Net40 to Net45 configuration, may also throws this error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With