C#C
C#3y ago
Thinker

✅ Copy files generated by command to build output

During a build, I want to run a command to build a Vue project which outputs its files to a folder, then copy the files from that folder to a
wwwroot
folder in the project's build output. How would I do this? I know I can use
Exec
to run the command which works fine, but I don't know how I would copy the files properly while preserving the subfolder structure.
Was this page helpful?