gpt4 book ai didi

visual-studio-2010 - Visual Studio 2010 数据源选项中缺少 SQLite 数据库文件类型

转载 作者:行者123 更新时间:2023-12-03 16:51:31 25 4
gpt4 key购买 nike

我按照以下说明在 Visual Studio 2010 上安装了 x86/x64 官方 SQLite NuGet 包: http://www.tsjensen.com/blog/post/2012/11/10/SQLite-on-Visual-Studio-with-NuGet-and-Easy-Instructions.aspx .然后保存并构建项目。

然后我尝试将 ADO.NET 实体数据模型添加到项目中并添加新的数据库连接,但我在数据源选项下看不到 SQLite 数据库文件。

如何添加 SQLite 数据库文件以显示在 Visual Studio 数据源选项下

最佳答案

我自己在这里添加答案,因为我刚刚发现它:

安装 NuGet 包后,我从这里下载了安装包“Setups for 32-bit Windows (.NET Framework 4.0)”:http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki .它是说“这是唯一能够为 Visual Studio 2010 安装设计时组件的安装包。”

然后在安装程序中勾选“为 Visual Studio 2010 安装设计器组件

enter image description here

之后再次打开 Visual Studio,我在数据源选项下获得了 SQLite 数据库文件。

关于visual-studio-2010 - Visual Studio 2010 数据源选项中缺少 SQLite 数据库文件类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18460090/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com