I'm working on a project with a lot of files (a game). These files can change from outside VS 2013, e.g. by artists. The files are located in subdirectories and our game expects them there. For instance images/items/block.png
I've tried using a post-build event
xcopy /C /Y /I /R /S /Q "$(SolutionDir)game_data\*" "$(TargetDir)"
and also with $(LayoutDir). The problem does not occur on our Desktop (Windows RT Store) project because I just copy the files to the build's AppX directory and when I run, the exe finds them. But with Windows Phone there is NO AppX directory anymore and it DOESN't copy it to the Phone.
How do I include files AND directories from $(SolutionDir)game_data into the package that gets installed on the phone?
Preferably a solution where I:
- Do not have to recreate the entire sub folder structure in the Project filters
- Do not have to specify "Content=Yes" in the properties for each file in each subdirectory.
- Do not have to add or remove any new files that get added to the directory by artists.