UWP create folders inside output

Hipreme 191 Reputation points
2021-08-17T13:24:26.907+00:00

After knowing that there's no automatic import tool for assets, I've decided coding one.

I would like to know if there is some way to have my resources inside folders when accessing x64/Debug/CoreApp.

They are all at the root directory, there's only "Assets" folder. Is there any way I could put my files inside that folder and create folders inside Assets?

Mantaining the folder structure is pretty important for me, as I'm using fopen for reading files


I would like to know too if you guys would have any intention to integrate the tool into visual studio, if I made that(it would be pretty nice). As I'm a D programmer, i'm going to use that language, don't know if it is harder to do for you guys.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,003 questions
{count} votes

Accepted answer
  1. Hipreme 191 Reputation points
    2021-08-17T19:20:55.687+00:00

    Okay, now it auto generates filters for each asset imported too..

    I need to have folders inside the binary output. How can I do that?

    123990-test.png

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Hipreme 191 Reputation points
    2021-08-17T15:52:17.87+00:00

    124053-test.png

    I was able to make this automation tool. Just indicate the project path and the assets to import path.

    It will create at $(ProjectPath)../UWPResources folder, which will reflect the assets to import path.

    It maintains a cache system(currently only for not copying again the files) and inserts an ItemGroup that contains every asset, not organized because there's no reason to do that on there.

    It is able to strip the automation tool insertions, I have tested to:
    create project
    insert
    strip
    new project == project stripped

    Now, I just want to be able to put filters and create the folder at the output binary.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.