visual studio - Add external files to XAP (deploy extra files to WP7) -



visual studio - Add external files to XAP (deploy extra files to WP7) -

using xna 4.0's tilestorage.openstream() can access files located in application's binary folder, deployed application.

you can add together files visual studio project , set them "copy output directory", , these deployed phone, , can viewed on pc looking @ "bin\windows phone\debug" folder

however, if re-create files straight "bin\windows phone\debug" folder, these not deployed phone (fyi deployed xbox if doing xbox development)

how can deploy additional files phone, without adding them visual studio? wish utilize postbuild script content file share, , deploy + index file (generated in postbuild) phone.

is there tool, or easy solution problem?

a xap file zip file different extension. can utilize post-build event edit xap before deployment, using command-line-aware zip extractor.

for instance, 7zip:

"c:\program files (x86)\7-zip\7z.exe" -tzip $(projectdir)$(outdir)test.xap c:\filetoinject.png

visual-studio windows-phone-7 xna xap

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -