I'm creating a REST Api with Asp.Net Core 1.0 and I want to copy a file which is not in included in the project to the output path when the project is compiled.
I can't figure out how to do it though. I have tried to use "buildOptions: copyToOutput" without any success. I can't really understand the project.json reference found here: https://learn.microsoft.com/en-us/dotnet/articles/core/tools/project-json
Say that I want to copy the file ....\TestFolder\Test.config to the output folder of the current project. How can I do that?