Copying assets into UWP application package

前端 未结 1 1418
粉色の甜心
粉色の甜心 2020-12-19 08:24

I have a large folder structure with a ton of subfolders that I am using for application data in my UWP app. When testing, I can just have it sitting on disk and it\'s fine,

相关标签:
1条回答
  • 2020-12-19 08:42

    You don't have to manually add all the files. Add the entire folder inside the UWP app folder. Once you do that you should be able to use the Show All Files option in the solution explorer and add the entire folder. If the property of the added files is not already set to "Content", multi select the files and set the Build Action property in the Properties window to Content

    [enter image description here]

    [enter image description here]

    0 讨论(0)
提交回复
热议问题