VS2012启用SQLite的Data Provider
来源:互联网 发布:云计算峰会的会议定位 编辑:程序博客网 时间:2024/06/03 22:57
VS 2012默认是不带的SQLite的Data Provider,所以无法直接在VS 2012里管理SQLite的数据库,自然也不能在VS里像SQL Server那样直接生成Entity Framework的model类了。SQLite团队为了解决这个问题,在SQLite的安装包里把用于VS2012的Data Provider给打包进去了。但是撸主却失败了无数次才找到正确把SQLite整合到VS里的方法,记录如下,分享给有需要的童鞋。
- 首先从http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki下载SQLite安装包。这个页面安装包非常多,一下子就会看眼花缭乱。需要注意的是只有32位的安装包才会能把SQLite的Data Provider加到VS Designer里。如果你已经看的眼花缭乱,一个简单的方法就是搜索右边描述里有显示如下黑体语句的This is the only setup package that is capable of installing the design-time components for Visual Studio 2012的安装包,直接下载安装就行。撸主这次下载到的文件名是sqlite-netFx45-setup-bundle-x86-2012-1.0.93.0.exe。
- 安装的时候一定不要用Full Installation,要选择Custom Installation,然后只选择Core Component(包括它里面的2个) 以及Visual Studio Designer Component。
- 点击下一步,在Install Designer For Visual Studio 2012前面打钩
- 安装完毕后,重启VS 2012后就应该能看到SQLite Data Provider的选项了。
2014.8.10更新,Visual Studio 2013里启用SQLite Data Provider的步骤是一样的,就是下载安装包的时候要选择This is the only setup package that is capable of installing the design-time components for Visual Studio 2013左边的那个安装包。
操作不成功的诸位,看一下操作系统和VS的位数是不是一致的,例如操作系统是64位的,VS是32位的,如果不一致,试试看同时安装32位和64位的System.Data.SQLite Setup安装程序,说不定就能成功。
0 0
- VS2012启用SQLite的Data Provider
- Provider /SQLite 的常见错误汇总。
- Oracle Data Provider for .NET 的使用
- c# sqlite 数据库加密2010-05-29 10:55用了ADO.NET 2.0 SQLite Data Provider 这样可以直接利用它来创建一个加密的sqlite数据库。
- Data Provider 中没有.net framework Data provider for Mysql 的解决方法
- 启用 Master Data Services 的 Web Service
- .NET Framework 4.0 安装SQLite Provider碰到的一些问题
- 【Content Provider】 Sqlite insert步骤nullColumnHack字段的含义
- .NET Data Provider
- Advanced Data Provider
- Flex data provider
- mySQL data Provider
- OAI-PMH Data Provider
- Data Provider DataDirect
- 使用VS2012编译SQLite
- Oracle Data Provider for .NET 的使用经验(1)
- Oracle Data Provider for .NET 的使用经验(2 )
- Oracle Data Provider for .NET 的使用经验(3)
- 关于在Java学习中遇到的浮躁
- android 中自定义广播的使用broardcast
- CSS总结(1)
- 解决Android中LayoutParam宽高的单位设置问题
- Android API Guides 阅读笔记(6)----Task and Back Stack
- VS2012启用SQLite的Data Provider
- leetCode(52):Add Binary
- Fragment向Fragment传值(第一种)
- linux常用命令----文本的统计
- HDU 4175 多时段多课最小能量消耗问题-dp-(数塔模型)
- UVA133-The Dole Queue
- Mac下eclipse安装SVN插件
- 我的关与<div>等块级元素浮动的总结
- Android中ArrayAdapter、SimpleAdapter、BaseAdapter总结