V 2015 C#安装sqlite数据库


1,去sqlite官网下载安装包sqlite-netFx46-setup

http://system.data.sqlite.org/downloads/1.0.98.0/sqlite-netFx46-setup-bundle-x86-2015-1.0.98.0.exe

这是唯一能够为Visual Studio 2015安装设计时组件的安装程序包。

它在VS 2015社区中对我有用..

2,安装后重启电脑,http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki 下载合适VS2015的包,

 解压,再添加引用,就可使用了

.Net使用System.Data.SQLite-百度经验 (baidu.com)

首先下载 sqlite-netFx46-setup-bundle-x86-2015-1.0.103.0.exe

下载地址:http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki    

 主要框架和sqlite的版本支持一致。

file:///C:/Program%20Files%20(x86)/System.Data.SQLite/2015/readme.htm

In order to use the SQLiteFactory and have the SQLite data provider enumerated in the DbProviderFactories methods, you must add the following segment into your application's app.config file:


    
        
            
            
        
    

See the help documentation for further details on implementing both version-specific (GAC enabled) and version independent DBProviderFactories support.

Compiling for the .NET Compact Framework

C