Windows Phone 上的 SQLite 错误
SQLite Error on Windows Phone
所以我是 Windows Phone 编程的新手,也是 SQLite 的新手。我正在尝试将数据库添加到 Microsoft 的 Connect the Dots 应用程序,该应用程序访问 Microsoft Band:https://github.com/Azure/connectthedots/tree/master/Devices/DirectlyConnectedDevices/WindowsPhoneAndBand
我遵循了几个关于为 Windows Phone 设置示例数据库应用程序的教程,但我发现了 2 个我似乎无法找到答案的调试错误。
当我在 VS2015 中 运行 模拟器中的程序时,我收到以下 2 条消息:
1. SQLite 3.8.11.1 需要 Microsoft.VClibs 版本 12.0。
2. SQLite 需要 sqlite3.dll 但找不到文件。
我的想法是我使用了错误的 SQLite 版本。目前我正在使用最新的 SQLite for Windows Phone 和 sqlite-net API。有人知道如何在 windows phone 上正确创建数据库吗?
您可以按照以下步骤操作:
为 windows phone 8.1 下载 SQLite
https://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b
然后添加对 SQLite 和 VCLibs 的引用。
然后转到程序包管理器控制台:Install-Package sqlite-net
所以我是 Windows Phone 编程的新手,也是 SQLite 的新手。我正在尝试将数据库添加到 Microsoft 的 Connect the Dots 应用程序,该应用程序访问 Microsoft Band:https://github.com/Azure/connectthedots/tree/master/Devices/DirectlyConnectedDevices/WindowsPhoneAndBand
我遵循了几个关于为 Windows Phone 设置示例数据库应用程序的教程,但我发现了 2 个我似乎无法找到答案的调试错误。
当我在 VS2015 中 运行 模拟器中的程序时,我收到以下 2 条消息: 1. SQLite 3.8.11.1 需要 Microsoft.VClibs 版本 12.0。 2. SQLite 需要 sqlite3.dll 但找不到文件。
我的想法是我使用了错误的 SQLite 版本。目前我正在使用最新的 SQLite for Windows Phone 和 sqlite-net API。有人知道如何在 windows phone 上正确创建数据库吗?
您可以按照以下步骤操作:
为 windows phone 8.1 下载 SQLite https://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b
然后添加对 SQLite 和 VCLibs 的引用。
然后转到程序包管理器控制台:
Install-Package sqlite-net