C#连接Sqlite 出现:

    混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集。的解决方案

C#连接sqlite数据库代码:

 using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SQLite;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms; namespace T_W_sqlite
{
public partial class Form1 : Form
{
public static SQLiteConnection sqlConn;
public static string ConnectionString = "Data Source=E://Test.db3;Pooling=true;FailIfMissing=true";//存储公用的数据库连接字符串 public static String StartSQLConn()
{
sqlConn = new SQLiteConnection(ConnectionString);
try
{
sqlConn.Open();
}
catch
{
sqlConn = null;
}
return "You Test Success!";
}
public Form1()
{
InitializeComponent();
             Lable.Text = StartSQLConn();

         }
}
}

解决方法:

  解决方案中找到App.config 文件 aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAATwAAAFVCAIAAAD9nMTDAAAgAElEQVR4nO2d/3McZ33H9XdQdA0ucVEs2pScaaJAavABKWOZtiSpKaZWkzMupHh0k4nLYJvaeEzQkZMCAce2CDlBmZh4Ets4d5hM7CSD3DiSTnYS4qhnB0OkeFoEQ50hEKPTbX94dp/9PM8++/X27va5e7/mM7a02n127+557ed5nt19ruf8hf9FIBAaRU/bjwCBQIQKSItAaBaQFoHQLHr6brodgUBoFJAWgdAsIC0CoVlAWgRCs4C0CIRmAWkRCM3CVdrR8acRCERyIpC0g0NfQSAQSQhIi0BoFpAWgdAsIC0CoVlAWgRCs5CkvUMZkBaBSE5ElHbdpqNnlufGNu22fl42LJaXF5/Yudu5p63lxTPjiuU8xmaXF8oHvA9Xuc66nacXhIMxf3ass/jEzt3rxucMFcuXT2/dtHvd+Nwy2XzdpgNPXF7mh81+5ZucmZWLYq9dXm1899byorSjtn/wiCbF7M9eo9GMXYjSDtyhDKe0vBYyhdZtOvDE5bmxTay+Lj6xc7dTUV9p1206esYh/LqdpxfIGUEpySDxdmxWsTLbr+lteW559q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bERaepBQt5tps7SxTxwTkEDSuk4l49U8VjpfLaQDZlrSVqd7KRUK1Xq1UCgpWgSg22iztG0x1ggmreEylYxBvg1ANRAlNKfNlbLZgJmWXn8iBZi7to8m2573DSQB3HvcKG7tWACaBKQNTb1eLaTVI8wAtABIGwU69gxjQYuBtABoBqQFQDMgLQCaAWkB0AxIC4BmQFoANAPSAqAZkBYAzYC0AGgGpAVAMyAtAJoBaQHQDEgLgGZAWgA0A9ICoBmQFgDNgLQAaAakBUAzIC0AmgFpAdAMSAuAZkBaADQD0gKgGZAWAM2AtABoBqQFQDMgLQCaAWkB0AxIC4BmQFoANAPSAqAZkBYAzYC0AGgGpAVAMyAtAJoBaQHQDEgLgGZAWgA0A9ICoBmQFgDNgLQAaAakBUAzIC0AmgFpAdAMSAuAZkBaADQD0gKgGZAWAM2AtABoRlBpEQhEcsJfWgQCkaiAtAiEZgFpEQjNAtIiEJoFpEUgNAtIi0BoFrjkg0BoFoGkHRz6CgKBSEJAWgRCs4C0CIRmAWkRCM0C0iIQmgWkRSA0Cyrt/wOh3SAJHuGDnAAAAABJRU5ErkJggg==" alt="" />

  

  在app.config的configuration节点下添加:

原始为:

 <?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>

  修改为:

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

便可解决上述问题.

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfsAAAFVCAIAAABn/9EbAAAgAElEQVR4nO3deVDcZ37n8flrk81uKtlsoiSzcWpqk5pVUptKzUqeiceSPZON45nM1GSdsuVjJHvGM5YPWbKFjrE0PmTLuhACXRwS4j4GcTbN2QjoBvq+T+ibvmjobmhoaECSJbF/PNBuwSOgEVLDw+dV31IBFg+ttvTmqad/3Xxj5pG5d7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/czzxM8WcWRD9+sz89PT01NUXST+ofiURGR0dHR0fDAABrDwkUiRUJ1+Tk5NTU1PT0dPzWfv3mfuYhiz8TF/153Sf7/Vj6Sf2JaDQ6AQCwlkSj0VijSLJioY/t6+e1ft3lfubhi0/ERz+++yT9BPkGAACwlpHEEyRisdav3619zOoUn5i334+vf+wbAADAGherVqxj63pfH281iz/PvfvdBQBYh+4l7tF19SE9wuIvtII7DgAguR5nJB+1x1p8AABIIhQfAGCjQPEBADYKFB8AYKNA8QEANgoUHwBgo0DxAQA2ChQfAGCjQPEBADYKFB8AYKP4/0OMqP6m3+3WAAAAAElFTkSuQmCC" alt="" />

By HRuinger.

C#连接Sqlite 出现:混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集。的解决方案的更多相关文章

  1. 混合模式程序集是针对“v1.1.4322”版的执行时生成的,在没有配置其它信息的情况下,无法在 4.0 执行时中载入该程序集。

    看到一个kinect大牛编写的一个水果忍者的体感游戏版本号,让我为自己一直以来仅仅用现有的网页游戏来模拟kinect体感游戏控制感到羞愧,没办法.我还是菜鸟.学习一段后自己模仿星际大战这个游戏.自己写 ...

  2. 混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况

    在app.config中的configuration节内添加子节Startup,详细如下: <?xml version="1.0"?><configuration ...

  3. 【转】Sqlite 混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该...

    开发环境: vs2010+.net framework 4.0+ System.Data.SQLite.DLL (2.0)今天在做Sqlite数据库测试,一运行程序在一处方法调用时报出了一个异常 混合 ...

  4. SQLite.dll混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集。

    其他信息: V5.7.4.4 Can't find the System.Data.SQLite.dll more info : 混合模式程序集是针对"v2.0.50727"版的运 ...

  5. <VS2010>混合模式程序集是针对“v2.0”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集

    在把以前写的代码生成工具从原来的.NET3.5升级到.NET4.0时,将程序集都更新后,一运行程序在一处方法调用时报出了一个异常: 混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有 ...

  6. VS报错之混合模式程序集是针对“v1.1.4322”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集。

    看到一个kinect大牛编写的一个水果忍者的体感游戏版本,让我为自己一直以来只用现有的网页游戏来模拟kinect体感游戏控制感到惭愧,没办法,我还是菜鸟.学习一段后自己模仿星际大战这个游戏,自己写了一 ...

  7. c# .netframwork 4.0 调用 2.0时报错 混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集。

    “System.IO.FileLoadException”类型的未经处理的异常在 XXX.dll 中发生 其他信息: 混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的 ...

  8. 混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集。

    在调用部分三方库时,由于三方库是基于.NET2.0的.所以在4.0的程序中无法加载.解决方案如下: 在配置文件中添加以下配置 <?xml version="1.0"?> ...

  9. System.IO.FileLoadException:“混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集。”

    解决方案: 在app.config新增如下配置节: <?xml version="1.0"?> <configuration> <startup us ...

随机推荐

  1. Node.js和Chrome V8 引擎了解

    说起Node就不得不先介绍一个Chrome V8 引擎. 随着Web相关技术的发展,JavaScript所要承担的工作也越来越多,早就超越了“表单验证”的范畴,这就更需要快速的解析和执行JavaScr ...

  2. Ubuntu 16.04下没有“用户和组”功能的问题解决

    在16.04以前的版本会自带“用户和组”的功能,但是在16.04发现系统只自带了“用户账户”的功能. 问题解决: 1.安装gnome-system-tools sudo apt-get install ...

  3. RMAN RECOVERY

    Data Recovery Advisor The health monitor and the ADR The capabilities and limitations of DRA using t ...

  4. Chrome 如何查看/修改Cookie

  5. 【CV论文阅读】:Rich feature hierarchies for accurate object detection and semantic segmentation

    R-CNN总结 不总结就没有积累 R-CNN的全称是 Regions with CNN features.它的主要基础是经典的AlexNet,使用AlexNet来提取每个region特征,而不再是传统 ...

  6. NIO框架之MINA源代码解析(二):mina核心引擎

    NIO框架之MINA源代码解析(一):背景 MINA的底层还是利用了jdk提供了nio功能,mina仅仅是对nio进行封装.包含MINA用的线程池都是jdk直接提供的. MINA的server端主要有 ...

  7. kentico11 教程,

    create master page with css list menu Add the navigation menu Add a dynamic web part that will repre ...

  8. Istio 1.1部署实践

    前提条件 正确安装配置Kubernetes集群 CentOS Linux release 7.5.1804 安装 下载istio 1.1版本 [root@vm157 ~]# wget https:// ...

  9. codevs1993 草地排水(最大流)

    1993 草地排水 USACO  时间限制: 2 s  空间限制: 256000 KB  题目等级 : 钻石 Diamond   题目描述 Description 在农夫约翰的农场上,每逢下雨,Bes ...

  10. [Swift通天遁地]五、高级扩展-(14)扩展String快速计算字符串中的各种数学表达式

    ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★➤微信公众号:山青咏芝(shanqingyongzhi)➤博客园地址:山青咏芝(https://www.cnblogs. ...