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:
<configuration>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite" />
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite"
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite, Version=1.0.98.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" />
</DbProviderFactories>
</system.data>
</configuration>
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
本文来自博客园,作者:七星落地,转载请注明原文链接:https://www.cnblogs.com/dwx-bzdcxy/p/16067063.html
浙公网安备 33010602011771号