Visual Studio 2017 Xamarin UWP break, unable to load “sqlite3”

只愿长相守 提交于 2019-12-11 04:25:40

问题


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.. 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 etc other(that dosent matter on this exception)

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


回答1:


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

Search for SQLite and download SQLite for Universal Windows Platform.

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.



来源:https://stackoverflow.com/questions/43667943/visual-studio-2017-xamarin-uwp-break-unable-to-load-sqlite3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!