【问题标题】:Using sqlite in VB.NET Metro App在 VB.NET Metro App 中使用 sqlite
【发布时间】:2024-01-21 06:08:01
【问题描述】:

我几天来一直在努力调整我的 VB.NET Metro 应用程序以使用 SQLite 数据库。

我有针对 Win 8 的 Metro 应用程序 然后我添加了对:

.NET for Windows Store apps
Microsoft Visual C++ Runtime Package
SQLite for Windows Runtime

仍然无法以这种方式使用数据库。 当我尝试添加时:

Imports SQLite
 Using db = New SQLite.SQLiteConnection(dbpath)
  • 无法识别

为 VB.NET Metro App 设置 SQlite 到底需要什么? 有没有我可以下载并开始使用的示例项目?

【问题讨论】:

    标签: vb.net sqlite windows-8 microsoft-metro


    【解决方案1】:

    您是否从 nuget 添加了 sqlite-net?

    【讨论】: