Is there a .Net 4 version of System.Data.SQLite?
At the moment I get this error:
Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
What is the "additional configuration information" that is needed, or alternatively is there another version that I can use?
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
</configuration>
According to the forums of PhxSoftware:
It's not high on my priority list right at the moment. When VS2010 comes closer to release I'll be updating the library to work with it.
Although the message was posted in october 2009 there are some workarounds.
Further there seems to be an updated (temporary) version specially for .NET 4:
Yes, there is now.
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
And you can use NuGet to install it as well. With nuget, its easy to choose between x86/x64/both, http://www.nuget.org/packages?q=system.data.sqlite .
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