VS2015没有出现SQLite连接 [英] SQLite connection not appearing for VS2015

查看:109
本文介绍了VS2015没有出现SQLite连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对这里发布的内容也有类似的问题:

我已经从nuget并使用Entity Framework 6.1.3和以下设置安装了 System.Data.SQLite :

 <代码> sqlite-netFx46-setup-bundle-x64-2015-1.0.102.0 

可在以下网站中找到:

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.

解决方案

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:

这篇关于VS2015没有出现SQLite连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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