为什么服务器资源管理器添加连接对话框中缺少 SQLite 提供程序? [英] Why is the SQLite provider missing from the Server Explorer Add Connection dialogue?

查看:24
本文介绍了为什么服务器资源管理器添加连接对话框中缺少 SQLite 提供程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注文章使用嵌入式 SQLite带有实体框架和 Linq-to-SQL 的数据库,并尝试安装 SQLite 提供程序,首先使用 System.Data.SQLite NuGet 包,然后通过 32 位 Windows (.NET/Framework 4.0) 的设置 安装程序包(用于v1.0.79).在两次安装和系统重新启动后,我仍然在服务器资源管理器的 添加连接 对话框中看不到 SQLite 数据库文件 提供程序.

I am following the article Using SQLite Embedded Database with Entity Framework and Linq-to-SQL, and have tried installing the SQLite provider, first using the System.Data.SQLite NuGet package, and then by installing the provider via the Setups for 32-bit Windows (.NET /Framework 4.0) installer package (for v1.0.79). After both installs, and a system restart, I still see no SQLite Database File provider in the Add Connection dialogue from Server Explorer.

我可以通过手动创建连接字符串并使用外部工具来创建我的 SQLite 数据库文件来继续,但我仍然想知道是什么问题,为什么尽管安装了最新的 SQLite,但我没有宣传的 SQLite 设计时支持提供者.这里可能有什么问题?

I can proceed by manually creating a connection string and using external tools to create my SQLite database file, but I still would like to know what is wrong why I do not have the advertised design time support for SQLite despite having installed the latest provider. What could be wrong here?

推荐答案

确保按照以下要求正确安装了 Visual Studio 的数据工具:

Ensure the data tools for visual studio were installed correctly as per:

http://www.basarat.com/2010/05/sqlite-for-visual-studio-2010.html

列出了各种修复程序,确保没有先安装旧工具等.我打算试一试,但这篇文章可能会对你有所帮助.

There are various fixes listed, making sure there weren't older tools installed first, etc. I'm going to give it a try, but the article may help you out.

这篇关于为什么服务器资源管理器添加连接对话框中缺少 SQLite 提供程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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