visual studio 2013数据源类型列表中没有SQLite的解决方法,2013sqlite
项目中用到了sqlite数据库,需要修改其中一张表结构,但是我的VS2013无法连接SQLite类型的数据库,
到sqlite官网 http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki 看了看,发现有很多安装程序,
因为我是win7 64位系统,所以就下载了几个64位的安装,结果都不管用,最后发现只有这个管用:
Setups for 32-bit Windows (.NET Framework 4.5.1)
sqlite-netFx451-setup-bundle-x86-2013-1.0.96.0.exe
(10.08 MiB)
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.96.0 (3.8.8.3) package. The Visual C++ 2013 Update 2 runtime for x86 is included.
The .NET Framework 4.5.1 is required.
This is the only setup package that is capable of installing the design-time components for Visual Studio 2013.
下载完成后,安装之前,先到 https://www.microsoft.com/en-us/download/confirmation.aspx?id=40762 下载vs2013对ef6的支持组件 并安装。
然后再安装这个sqlite的setup,安装时选择自定义安装,勾选核心组件、linq、ef6、vs设计器组件即可,然后下一步中一定要勾选安装vs设计器集成组件。
安装完成,重启vs2013,就可以连接sqlite数据源了。