VS2012,VS2013啟用SQLite的Data Provider介面顯示

來源:互聯網
上載者:User

標籤:

VS 2012預設是不帶的SQLite的Data Provider,所以無法直接在VS 2012裡管理SQLite的資料庫,自然也不能在VS裡像SQL Server那樣直接產生Entity Framework的model類了。SQLite團隊為瞭解決這個問題,在SQLite的安裝包裡把用於VS2012的Data Provider給打包進去了。但是擼主卻失敗了無數次才找到正確把SQLite整合到VS裡的方法,記錄如下,分享給有需要的童鞋。

1,首先從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。

2,安裝的時候一定不要用Full Installation,要選擇Custom Installation,然後只選擇Core Component(包括它裡面的2個) 以及Visual Studio Designer Component。

3,點擊下一步,在Install Designer For Visual Studio 2012前面打鉤

4,安裝完畢後,重啟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左邊的那個安裝包。

 

 轉載http://www.cnblogs.com/ggbbeyou/p/4319756.html

VS2012,VS2013啟用SQLite的Data Provider介面顯示

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.