database - 使用 Visual Studio 2010 的 Windows 7 手机应用程序不支持 DLL

标签 database visual-studio-2010 dll windows-phone-7

如果我添加任何 dll(如 sqllite3.dll、sqlliteclient.dll),我会收到以下消息:

Reference cannot be added to l because it was not built using the Windows Phone runtime. Windows Phone projects will work only with Windows Phone assemblies.

我真的可以从头开始。请使用带有引用 dll 的数据库提供简单的数据库连接。

最佳答案

您无法在 Windows Phone 7 中运行 SQLite,因为它无法运行 native 代码。

相反,use a C# implementation .

关于database - 使用 Visual Studio 2010 的 Windows 7 手机应用程序不支持 DLL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5291141/

相关文章:

ruby-on-rails - "msvcrt-ruby18.dll was not found"与 ruby

Java Native Interface - 在 Java 中使用第三方 dll 文件

mysql - 将多个数据库查询结果合并到一张优雅的表中的逻辑或过程是什么?

database - 访问音乐基因组数据库

com - Visual Studio 2010 64 位 COM 互操作问题

visual-studio-2010 - 可执行文件未重建,但目标文件已重新编译

visual-studio-2010 - "Go to Definition"/"Go to Declaration"在 VS2010 中无法可靠运行?

asp.net - 使用 VB.NET 在 ASP.NET 中的 detailsView 中集成 CKEditor

php - 数据库统计

C++ 和 MQL4 无法在 dll 中找到函数