xml data file in local folder RRS feed

  • Question

  • A silly question by a newbie. I have a readonly data file exported from excel. I already added the file to my solution. Is that file going to be placed to the local folder automatically when somebody installs the app so it can be opened by the app or do i have to do something more?
    Monday, June 16, 2014 9:02 PM


  • if only need read permission you can leave it in the app folder. if you need to edit it you need to copy it on the first run to your it in your localhoder (ApplicationData.Current.LocalFolder)

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Monday, June 16, 2014 10:07 PM
  • Make sure it is marked as Content and to be copied to the Output directory.

    You can then confirm by looking for it in the Appx folder after you build and run the app.


    Monday, June 16, 2014 11:40 PM

All replies