I know you can use "copyToOutput" in project.json to copy files to a project's output directory, but is it possible to copy over an entire folder?
Asked
Active
Viewed 266 times
0
-
You can use post build event as suggested here http://stackoverflow.com/questions/747941/copying-files-into-the-application-folder-at-compile-time – yodadev Feb 13 '17 at 21:29
1 Answers
1
You can add directories just the way you add files. Note that empty directories will be ignored using this approach.
"buildOptions": {
"copyToOutput": {
"include": [ "someFile.json", "myDirectory" ],
}
}

mrapan
- 85
- 1
- 10