The DAO layer of the whole C # today, I use 2013, with the 4.0. NETFramework just after you've created the helper, there's an exception.
+ Connection "helper. Connection "System.IO.FileLoadException" type exception was thrown System.Data.IDbConnection {System.IO.FileLoadException}
Later in the search for an article, add in app. Config
<startup uselegacyv2runtimeactivationpolicy= "true" >
<supportedruntime version= "v4.0"/>
<requiredruntime version= "v4.0.20506"/>
</startup>
http://blog.163.com/lemon_wangjun/blog/static/1197883802011312104054675/
After joining, it's good, but it's strange, sometimes the following exception occurs
Later turned over the old project settings, add the following settings, temporarily good.
<startup uselegacyv2runtimeactivationpolicy= "true" >
<supportedruntime version= "v4.0" sku= ". netframework,version=v4.0 "/>
</startup>
[C#-sqlite] Some strange questions about SQLite