.net – SQLite:没有这样的模块:与System.Data.SQLite.dll 1.0.101.0的fts5错误

前端之家收集整理的这篇文章主要介绍了.net – SQLite:没有这样的模块:与System.Data.SQLite.dll 1.0.101.0的fts5错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用System.Data.sqlite.dll 1.0.101.0并且在执行命令“CREATE VIRTUAL TABLE tbl_fts USING fts5(fld1,fld2)”时出现此错误.

错误
没有这样的模块:fts5

在本页我们可以看到:1.0.99.0 – 2015年12月9日

•为原生json1和fts5扩展添加实验支持

https://system.data.sqlite.org/index.html/doc/trunk/www/news.wiki

那么问题是什么,如何重新启动System.Data.sqlite.dll?如何启用fts5?我怎样才能做到这一点?

谢谢..

解决方法

在这里解决方案,超过6个小时的工作直到找到它:

MyConnection.EnableExtensions(True)
    MyConnection.LoadExtension("System.Data.sqlite.dll","sqlite3_fts5_init") ''/// Or "sqlite.Interop.dll" as you need.

我通过这句话理解:“为FTS5可加载扩展添加实验支持.(用户:mistachkin)”

http://system.data.sqlite.org/index.html/finfo?name=SQLite.Interop/SQLite.Interop.2010.vcxproj

猜你在找的Sqlite相关文章