SQLite 和 Visual Studio Community 2015 DataProvider 丢失

我正在尝试安装 SQLite,但没有成功.我尝试通过 NuGet 包管理器安装它,

尝试安装

解决方案

请安装 sqlite-netFx46-setup-bundle-x86-2015-1.0.98.0.exe(您提供的第一个链接)并带有安装 Visual Studio 2015 的设计器组件"选项已选中.我第一次安装时没有检查它,所以我得到相同的结果,数据源列表中没有 SQLite 提供程序.

但是在我重新安装并选中安装设计器组件选项并重新启动 Visual Studio 后.我可以在数据源列表中选择 SQLite 数据库文件选项.

I am trying to install SQLite with no success. I have tried installing it through NuGet Package manager,

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

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

but every time I go to Server Explorer > Data Connections > New Connection SQLite is not listed in the Data Source window:

解决方案

Please install the sqlite-netFx46-setup-bundle-x86-2015-1.0.98.0.exe (the first link you provided) with the "Install the designer components for Visual Studio 2015" option checked. I don’t check it when my first time install, so I get the same result that there doesn’t have SQLite provider in Data Source list.

But after I reinstall with the install the designer components option checked and restart Visual Studio. I could choose SQLite database file option in Data Source list.

相关文章