SQLite connection not appearing for VS2015

依然范特西╮ 提交于 2020-01-04 05:57:46

问题


I have a similar problem with what is posted here:

SQLite connection not appearing in Entity Data Model Wizard

Except that I use VS2015 and I cannot even see the connection for SQLite in my Server Explorer:

I already install System.Data.SQLite from nuget and using Entity Framework 6.1.3 and this setup:

sqlite-netFx46-setup-bundle-x64-2015-1.0.102.0

which is available in: https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

But the option just doesn't appear.


回答1:


The problem was with the bundle setup used, it is the bundle setup for VS2015 for Windows 64-bit. While the bundle setup capable of adding the Designer components in the VS2015 is only the bundle setup for VS2015 for Windows 32-bit.

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.

In other words:

sqlite-netFx46-setup-bundle-x86-2015-1.0.102.0

instead of

sqlite-netFx46-setup-bundle-x64-2015-1.0.102.0

When I use the x86 bundle, it is OK:



来源:https://stackoverflow.com/questions/39139799/sqlite-connection-not-appearing-for-vs2015

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!