CodeSmith连接SQLite配置

找到 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config

打开 文件machine.config

在节点 DbProviderFactories

添加 <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite, Version=1.0.99.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" />

复制文件 SQLite.Interop.dll、System.Data.SQLite.dll

到 codesmith 的 bin 文件夹中。

posted @ 2016-04-13 17:21  邪不压正!  阅读(545)  评论(0编辑  收藏  举报