system.data.sqlite .NET 4 [英] system.data.sqlite .net 4

查看:204
本文介绍了system.data.sqlite .NET 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一个.net版本4 System.Data.SQLite的?

目前,我得到这个错误:

  

混合模式组件构建针对运行时的版本V2.0.50727',不能在4.0运行时无需附加配置信息加载。

什么是其他配置信息是必要的,或者说是存在的,我可以使用另一个版本?

解决方案

 <结构>
  <启动useLegacyV2RuntimeActivati​​onPolicy =真正的>
    < supportedRuntime版本=V4.0/>
  < /启动>
< /结构>
 

Is there a .Net 4 version of System.Data.SQLite?

At the moment I get this error:

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.

What is the "additional configuration information" that is needed, or alternatively is there another version that I can use?

解决方案

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

这篇关于system.data.sqlite .NET 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆