小编Car*_*ert的帖子

无法加载文件或程序集 'e_sqlite3

当我调试 UWP 项目时,出现以下错误:

System.IO.FileNotFoundException: '无法加载文件或程序集 'e_sqlite3,Culture=neutral,PublicKeyToken=null'。该系统找不到指定的文件。'

错误发生在这一行: Xamarin.Forms.Forms.Init(e);

从以下代码块:

protected override void OnLaunched(LaunchActivatedEventArgs e)
{
    Frame rootFrame = Window.Current.Content as Frame;

    // Do not repeat app initialization when the Window already has content,
    // just ensure that the window is active
    if (rootFrame == null)
    {
        // Create a Frame to act as the navigation context and navigate to the first page
        rootFrame = new Frame();

        rootFrame.NavigationFailed += OnNavigationFailed;

        Xamarin.Forms.Forms.Init(e);

        if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
        {
            //TODO: Load state from previously …
Run Code Online (Sandbox Code Playgroud)

c# xamarin.forms xamarin.uwp sqlite-net-pcl

5
推荐指数
0
解决办法
1079
查看次数

标签 统计

c# ×1

sqlite-net-pcl ×1

xamarin.forms ×1

xamarin.uwp ×1