locked
How to keep resource folder structure when deploying to AppX directory?

    Question

  • For example,I have project A(Windows 8.1) and project B(Windows 8).

    The resource files such as image or wave files in project A is shared with project B.

    But when build solution.

    Project A keeps folder structure.

    Like

    --AppX--------------

      --Assets------

      --Textures---

         --xx.png

      --Sound------

        --xx.wav

    -----------------------

    But in project B, AppX folder structure is this:

    --AppX--------------

    --Assets------

    --xx.png

    --xx.wav

    -----------------------

    All the files are put in a same directory.

    So I failed load file with path Textures\\xx.png or Sound\\xx.wav. The path become xx.png or xx.wav.

    I wonder how to keep the folder structure like project A.

    Thanks.


    • Edited by Y.H.King Saturday, August 9, 2014 5:16 AM
    Saturday, August 9, 2014 5:15 AM

Answers