Visual Studio 2017 Xamarin UWP中断,无法加载"sqlite3" [英] Visual Studio 2017 Xamarin UWP break, unable to load "sqlite3"

查看:96
本文介绍了Visual Studio 2017 Xamarin UWP中断,无法加载"sqlite3"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我启动UWP项目时,它崩溃了,并且出现了类似这样的错误. 而且此错误主要是在调试模式下发生的.

When I launch UWP project, it crashes and I'm getting errors like these. And this error occurs mostly when its on debugging mode.

Soo ..解决此问题的第一个想法是升级/降级矿块,但这并没有帮助我,我还为UWP提供了这些矿块:

Soo.. first idea for fixing this was upgrading/downgrading nuggets, but that didn't help me, also I have these nuggets included for UWP:

  1. Microsoft.NETCore.UniversalWindowsPlatform
  2. SQLite.Net-PCL
  3. System.Data.SQLite
  4. Xamarin.Forms
  5. XLabs.Forms 等等其他(在此例外情况下,很重要)
  1. Microsoft.NETCore.UniversalWindowsPlatform
  2. SQLite.Net-PCL
  3. System.Data.SQLite
  4. Xamarin.Forms
  5. XLabs.Forms etc other(that dosent matter on this exception)

我还寻找了解决此问题的其他文章,例如添加SQLite扩展,但是我没有从Universal Windows-> Extensions中找到该扩展.

I also looked other posts for solving this, like adding SQLite extension, but I didnt find the extension from Universal Windows->Extensions.

这个问题我很困惑,我认为这可能是金块的问题

Im pretty stuck with this problem, I think its probably a problem with nuggets

推荐答案

您距离很近.转到工具>扩展和更新.点击左侧菜单中的在线"标签.

You were fairly close. Go to Tools > Extensions and Updates. Click the Online tab in the left hand menu.

搜索SQLite并下载通用Windows平台的SQLite.

Search for SQLite and download SQLite for Universal Windows Platform.

现在,如上所示,返回扩展"窗口,并勾选通用Windows平台的SQLite.确保您勾选了"Visual C ++ 2015运行时",同样需要.

Now go back to the Extensions window, as you showed above, and tick the SQLite for Universal Windows Platform. Ensure you keep the Visual C++ 2015 Runtime ticked, you need this as well.

这篇关于Visual Studio 2017 Xamarin UWP中断,无法加载"sqlite3"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆