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

posted @ 2011-03-09 22:16  shiningrise  阅读(982)  评论(0编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css