System.Data.SQLite 1.0.66.0不能在 .net4.0下运行
2011-03-09 22:16
369 查看
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
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
相关文章推荐
- .Net4.0以上使用System.Data.Sqlite
- 提示“应用程序无法启动,因为应用程序的并行配置不正确”不能加载 System.Data.SQLite.dll
- 类型“System.Data.SQLite.SQLiteParameter”在未被引用的程序集中定义。必须添加对程序集“System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139”的引用
- windows xp 不能load "System.Data.SQLite.dll"
- winform调用sqlite,打包发布后,在客户机上安装运行却报错:找不到System.Data.SQLite.DLL
- 类型“System.Data.SQLite.SQLiteParameter”在未被引用的程序集中定义。必须添加对程序集“System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139”的引用
- “System.BadImageFormatException”类型的未经处理的异常在 PurchaseDevices.Access.dll 中发生 其他信息: 未能加载文件或程序集“System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139”或它的某一个依赖项。试图加载格式不正确
- System.Data.SQLite.dll不能编译成AnyCPU问题的解决方案,以及它跨x86和x64的使用方法。
- System.Data.SQLite 不能在.net 4.0 里引用的解决方法
- System.Data.SQLite数据库简介
- 未能加载文件或程序集“System.Data.SQLite”或它的某一个依赖项
- 【转】VS2010不能引用System.Data.OracleClient解决方法
- Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made
- System.Data.SQLite测试
- Win7 64bit系统下未能加载文件或程序集“System.Data.SQLite”的解决办法
- System.Data.SQLite数据库介绍
- System.Data.Sqlite for winform
- [解决]System.DllNotFoundException: 无法加载 DLL“SQLite.Interop.DLL” -- 绿化System.Data.SQLite.dll
- System.Data.SQLite兼容32位和64位问题