① Open the C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config directory and find the machine.config file New
<add name= "SQLite data Provider" invariant= "System.Data.SQLite" description= ". Net Framework Data Provider for SQLite" Type= "System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/> is as follows:
<system.data><dbproviderfactories><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 "/><add name=" SQLite Data Provider "invariant=" System.Data.SQLite "description = ". Net Framework Data Provider for SQLite" type= "System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/></ Dbproviderfactories></system.data>
② official website Download the SQLite . NET Framework version 4.0 as shown in:
③ download complete after installation, open C:\Program Files\system.data.sqlite\2010\bin, Copy the System.Data.SQLite.dll and SQLite.Interop.dll to the Codesmith installation directory, such as C:\Program Files (x86) \codesmith\v7.0\bin, and then restart Codesmith7, normal use
Window2008 R2 (64-bit) connect SQLite using Codesmith