C#学习教程:SQLite更新后:无法在DLL“SQLite.Interop.dll”中找到名为“sqlite3_changes_interop”的入口点dll”“sqlite3_changes_interop”的入口点在我决定更新SQLiteDLL(从1.0.82.0到1.0.84.0)之前,我的C#/SQLite工作正常。现在我遇到了这个崩溃:无法在DLL“SQLite.Interop.dll”中找到名为“sqlite3_changes_interop”的入口点Afirstchanceexceptionoftype'System.EntryPointNotFoundException'occurredinSystem.Data.SQLite.dll关键:0:http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/UnhandledUnhandledexceptionSparkleShare.vshost.exeSystem.EntryPointNotFoundException,mscorlib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089无法在DLL“SQLite.Interop.dll”中找到名为“sqlite3_changes_interop”的入口点。在System.Data.SQLite.UnsafeNativeMethods.sqlite3_changes_interop(IntPtrdb)在System.Data.SQLite.SQLite3.get_Changes()在System.Data.SQLite.SQLiteStatement.TryGetChanges(Int32&变化)()在System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommandcmd,CommandBehaviorbehave)在System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehaviorbehavior)atSystem.Data.SQLite.SQLiteCommand.ExecuteNonQuery()代码没有改变,所以我不认为这是代码问题(反正,这是它发生的那一行)新版本有问题我下载?我在http://system.data.sqlite.org-netFx40-static-binary-Win32-2010-1.0.84.0.zip的32位Windows(.NETFramework4.0)预编译静态链接二进制文件中下载了sqlite。/index.html/doc/trunk/www/downloads.wiki编辑:我恢复到以前的DLL,但问题仍然存在,可能是因为VisualC#无法清除某处的某些缓存。确保项目的x64和x86文件夹中的SQLite.Interop.dll已更新到版本1.0.84.0。你有源代码控制吗?因此,您可以回滚文件的工作状态。清理并构建解决方案,然后将SQLite.Interop.DLL设置为更新的副本。并确保它在您的bin文件中。此致我邀请您从Nuget包管理器更新Sqlite库。这个对我有用。以上是C#学习教程:SQLite更新后:在DLL“SQLite.Interop.dll”中找不到名为“sqlite3_changes_interop”的入口点所有内容分享,如果对大家有用还需要详细了解一下C#学习教程,希望大家多多关注——本文收集自网络,不代表立场。如涉及侵权,请点击右侧联系管理员删除。如需转载请注明出处:
