Windows 类型为';System.IO.FileNotFoundException';在PhoneApp2.DLL中发生,但未在用户代码中处理

Windows 类型为';System.IO.FileNotFoundException';在PhoneApp2.DLL中发生,但未在用户代码中处理,windows,Windows,使用SQLite for windows phone应用程序时,我在SQLite.cs中遇到错误: 找不到的路径 这是路径,但当可以找到选中的路径时,我硬编码了路径并尝试了,但没有成功 string dbPath = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "db.sqlite"); 这里是错误 public static Result Open(string filename, out Sq

使用SQLite for windows phone应用程序时,我在SQLite.cs中遇到错误:

找不到的路径

这是路径,但当可以找到选中的路径时,我硬编码了路径并尝试了,但没有成功

string dbPath = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "db.sqlite");
这里是错误

public static Result Open(string filename, out Sqlite3DatabaseHandle db, int flags, IntPtr zVfs)
        {

            return (Result)Sqlite3.sqlite3_open_v2(filename, out db, flags, "");
#else
            return (Result)Sqlite3.sqlite3_open_v2(filename, out db, flags, null);

        }
这里是路径db
null