.net - 系统.data.sqlite.net 4

标签 .net sqlite

是否有 System.Data.SQLite 的 .Net 4 版本?

目前我得到这个错误:

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.

需要什么“附加配置信息”,或者是否有我可以使用的其他版本?

最佳答案

<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
  </startup>
</configuration>

关于.net - 系统.data.sqlite.net 4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2605490/

相关文章:

.net - FixedDocument打印问题(由TeamViewer解决??)

c# - 单元测试类继承自ContextBoundObject并装饰有ContextAttribute

c# - 命名空间中不存在 wpf 资源字典?

SQLite INSERT SELECT 查询结果到现有表中?

sqlite - 从 SQLite 命令行 shell 中打开数据库文件

sqlite - 重新创建 SVN wc.db

python - Windows 中的 SQLAlchemy 引擎绝对路径 URL

php - 我可以在 Windows Azure 上从 PHP 调用 .NET 函数吗?

c# - 如何在设计时从我的 WPF 应用程序获取应用程序的目录?

sql - SQLite:从两个相关的列中获取模态/模式