Sqlite 不在 Visual Studio 数据源选项列表中 [英] Sqlite not in list of Visual Studio data source options

查看:58
本文介绍了Sqlite 不在 Visual Studio 数据源选项列表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下载并运行 SQLite 安装程序.
添加了对我的项目的 dll 引用
在服务器资源管理器中,添加了新连接,单击数据源的更改",SQLite 是选项之一.
连接并使用了我的表.

Downloaded and ran SQLite setup.
Added dll reference to my project
In Server Explorer, added new connection, clicked 'Change' for data source and SQLite was one of the options.
Connected and used my tables.

然后……VS 2010 崩溃了.当我重新加载我的项目时,我的连接不在服务器资源管理器中,因此尝试再次添加它.
SQLite 不在选项列表中.
重新运行 SQLite 设置,删除/重新添加引用,重新启动项目......列表中仍然没有 SQLite.

Then...VS 2010 crashed. When I reloaded my project, my connection wasn't in Server explorer, so tried to add it again.
SQLite was not in the list of options.
Re-ran SQLite setup, deleted/re-added reference, restarted project...still no SQLite in the list.

如何在服务器资源管理器中连接 SQLite???

How can I get SQLite connected in Server Explorer???

推荐答案

这是一个老问题,但对于像我这样在有新答案之前发现这个问题的人来说:

This is an old question but for someone, like me, who finds this before there is a newer answer:

VS 2013 中缺少 SQLite 数据提供程序

基本上对于 SQLite 的最新版本,您可以下载包含组件的安装程序

Basically for the latest versions of SQLite you can download an installer that includes the components

http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

为您选择正确的设置,对我来说是:32 位 Windows 设置 (.NET Framework 4.5.1)sqlite-netFx451-setup-bundle-x86-2013-1.0.94.0.exe

Choose the right setup for you, for me was: Setups for 32-bit Windows (.NET Framework 4.5.1) sqlite-netFx451-setup-bundle-x86-2013-1.0.94.0.exe

这篇关于Sqlite 不在 Visual Studio 数据源选项列表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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