Do Microsoft provide a mean for Sqlite3 .db file be auto-assigned to /packages/XXXX/LocalState directory? RRS feed

  • Question

  • After I submitted my App to the Store, I got a error report claimed for "none data".

    We do hava some data(.db file) written by extra-mean and those data has not been packed into the upload appx package.

    How should I deal with this issue?

    Thanks. :)


    Tuesday, January 7, 2014 2:22 AM


  • Hi Isaac,

    You can include the db file in your initial package install directory by adding it to your project and editing its file properties so Package Action is "Content".

    This will install the database with the package in the read-only app package directory. You will need to include code to copy it to the local app data directory before loading the database for writing (see Quickstart: Local app data ).


    • Marked as answer by 月华失色 Tuesday, January 7, 2014 5:19 AM
    Tuesday, January 7, 2014 3:10 AM