问题描述
Unabletofindanentrypointnamed'sqlite3_changes_interop'inDLL'SQLite大家有没有碰到过这种bug的?官方解释也看不太明白了参考地址:http://system.data.sqlite.org/index.html/tktview?name=6bbbeb1da5实在是心累了,求大家帮忙
解决方案
解决方案二:
Unabletofindanentrypointnamed'sqlite3_changes_interop'inDLL'SQLite.Interop.dll'
解决方案三:
将sqlite.interop.dll这个放到输出文件夹,考虑到32位与64位环境最好是分别在输出目录(Debug&Release)下分别建立x86SQLite.Interop.dllx64SQLite.Interop.dll你可以选择使用带bundle的sqlite安装包(比如sqlite-netFx35-setup-bundle-x86-2008-1.0.81.0.zip),这样只需要引用SQLite.dll这一个混合程序集就可以用了
解决方案四:
引用2楼dongxinxi的回复:
将sqlite.interop.dll这个放到输出文件夹,考虑到32位与64位环境最好是分别在输出目录(Debug&Release)下分别建立x86SQLite.Interop.dllx64SQLite.Interop.dll你可以选择使用带bundle的sqlite安装包(比如sqlite-netFx35-setup-bundle-x86-2008-1.0.81.0.zip),这样只需要引用SQLite.dll这一个混合程序集就可以用了
是这样的,本地测试是可以的。我发布到服务器上才会出现这个问题。
时间: 2024-08-01 14:19:54