VS2015 未显示 SQLite 连接
SQLite connection not appearing for VS2015
我对这里发布的内容有类似的问题:
除了我使用 VS2015
,我什至在我的服务器资源管理器中看不到 SQLite
的连接:
我已经从 nuget 安装 System.Data.SQLite
并使用 Entity Framework 6.1.3 和此设置:
sqlite-netFx46-setup-bundle-x64-2015-1.0.102.0
适用于:https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
但是这个选项就是没有出现。
问题出在使用的捆绑包设置上,它是 VS2015 for Windows 64 位 的捆绑包设置。虽然能够在 VS2015 中添加 Designer 组件的捆绑设置仅 ,但 VS2015 的捆绑设置 for Windows 32位。
Setups for 32-bit Windows (.NET Framework 4.6)
This setup package features the mixed-mode assembly and will install
all the necessary runtime components and dependencies for the x86
version of the System.Data.SQLite 1.0.102.0 (3.13.0) package. The
Visual C++ 2015 Update 2 runtime for x86 is included. The .NET
Framework 4.6 is required. This is the only setup package that is
capable of installing the design-time components for Visual Studio
2015.
换句话说:
sqlite-netFx46-setup-bundle-x86-2015-1.0.102.0
而不是
sqlite-netFx46-setup-bundle-x64-2015-1.0.102.0
当我使用 x86 包时,没问题:
我对这里发布的内容有类似的问题:
除了我使用 VS2015
,我什至在我的服务器资源管理器中看不到 SQLite
的连接:
我已经从 nuget 安装 System.Data.SQLite
并使用 Entity Framework 6.1.3 和此设置:
sqlite-netFx46-setup-bundle-x64-2015-1.0.102.0
适用于:https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
但是这个选项就是没有出现。
问题出在使用的捆绑包设置上,它是 VS2015 for Windows 64 位 的捆绑包设置。虽然能够在 VS2015 中添加 Designer 组件的捆绑设置仅 ,但 VS2015 的捆绑设置 for Windows 32位。
Setups for 32-bit Windows (.NET Framework 4.6)
This setup package features the mixed-mode assembly and will install all the necessary runtime components and dependencies for the x86 version of the System.Data.SQLite 1.0.102.0 (3.13.0) package. The Visual C++ 2015 Update 2 runtime for x86 is included. The .NET Framework 4.6 is required. This is the only setup package that is capable of installing the design-time components for Visual Studio 2015.
换句话说:
sqlite-netFx46-setup-bundle-x86-2015-1.0.102.0
而不是
sqlite-netFx46-setup-bundle-x64-2015-1.0.102.0
当我使用 x86 包时,没问题: