locked
Can I include/exclude files for only ARM builds of my app

    Question

  • I have an application and I would like to have a slightly different set of 'Assets' for the Win32 and ARM versions.  Is there a way to do that short of creating 2 projects?

    Thanks.

    Tuesday, February 12, 2013 3:28 AM

Answers

  • I am using the "Show All Files" option to add files to my Assets folder.  If I have an asset already included, then I can right click on it and it will bring up a 'Properties' dialog, and in that dialog, I can specify which builds are to include this file.  The thing that confused me at first is that sometimes then I chose the properties of a file, I did NOT get the 'Properties' dialog, rather it showed the properties in the panel on the left and although I could include or exclude the file, there was no way to specify what builds.  In order to see the 'Properties' dialog, I found that I first had to include the file (which would include it in all builds).  Then I would ALSO have to un-check the 'Show All Files' option and re-check it before I was able to get the dialog.  This whole thing seems to be somewhat bugged to me, but since I can now get it to work, I can live with it.

    Thanks.

    • Marked as answer by John Gaby Wednesday, February 13, 2013 2:50 PM
    Wednesday, February 13, 2013 2:50 PM

All replies

  • I believe that I figured out how to do this.

    Thanks.

    Tuesday, February 12, 2013 11:23 PM
  • Hi John Gaby,

    I think Build Configuration can accomplish this. You can also share you solution help so it might help others in future.

    Thank you!


    Min Zhu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, February 13, 2013 1:25 AM
    Moderator
  • I am using the "Show All Files" option to add files to my Assets folder.  If I have an asset already included, then I can right click on it and it will bring up a 'Properties' dialog, and in that dialog, I can specify which builds are to include this file.  The thing that confused me at first is that sometimes then I chose the properties of a file, I did NOT get the 'Properties' dialog, rather it showed the properties in the panel on the left and although I could include or exclude the file, there was no way to specify what builds.  In order to see the 'Properties' dialog, I found that I first had to include the file (which would include it in all builds).  Then I would ALSO have to un-check the 'Show All Files' option and re-check it before I was able to get the dialog.  This whole thing seems to be somewhat bugged to me, but since I can now get it to work, I can live with it.

    Thanks.

    • Marked as answer by John Gaby Wednesday, February 13, 2013 2:50 PM
    Wednesday, February 13, 2013 2:50 PM