电竞比分网-中国电竞赛事及体育赛事平台

分享

Window2008 R2(64位)使用codesmith連接Sqlite

 偷心無痕 2016-01-17

①打開C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config目錄,找到machine.config文件新增

<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite"  type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>如下所示:

  1. <system.data>  
  2.     <DbProviderFactories>  
  3.         <add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.1.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>  
  4.         <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite"  type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>  
  5.     </DbProviderFactories>  
  6. </system.data>  
②登陸官方網(wǎng)址 下載Sqlite  .NET Framework 4.0版本如下圖所示:


③下載完成后安裝,打開C:\Program Files\System.Data.SQLite\2010\bin,復制System.Data.SQLite.dll和SQLite.Interop.dll到codesmith安裝目錄,如C:\Program Files (x86)\CodeSmith\v7.0\bin,然后重啟codesmith7,正常使用


    本站是提供個人知識管理的網(wǎng)絡存儲空間,所有內容均由用戶發(fā)布,不代表本站觀點。請注意甄別內容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權內容,請點擊一鍵舉報。
    轉藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多