how to ensure xml file is deployed to device emulator

Hi

I'm running the windows mobile 5 emulator within VS 2005 (vb).

My compact framework application uses a text file to load some xml.

The problem is I don't know how to ensure the text file is deployed to the device (emulator) at run time - currently I keep getting file not found error.

Any advice appreciated.

Cheers

Kenny



Answer this question

how to ensure xml file is deployed to device emulator

  • CaRNaGe_46038

    Add that file to your project, set build action to “Content” and set condition to “Always” or “Copy of newer”. For production deployment add it to your CAB file.



  • Carlos Quintero MVP

    Excellent - thanks Ilya

    Kenny


  • how to ensure xml file is deployed to device emulator