System.Data.SQLite 1.0.66.0不能在 .net4.0下运行

System.Data.SQLite  .net4.0

You have to add a section to your .config file to be able to load the 2.0 assembly in 4.0.  I won't have a 4.0-built assembly out for a bit yet.

<?

xml version="1.0" encoding="utf-8" ?>
<
configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
  <
supportedRuntime version="v4.0" />
</
startup>
</
configuration

>

 

因为,System.Data.SQLite 1.0.66.0 不支持.net4.0

原文地址:https://www.cnblogs.com/shiningrise/p/1979188.html