I am creating REST Api with Asp.Net Core 1.0, and I want to copy a file that is not part of the project to the output path when compiling the project.
I canβt figure out how to do this. I tried using "buildOptions: copyToOutput" without any success. I can not understand the link to project.json found here: https://docs.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 this?
, buildOptions .
buildOptions
"buildOptions": { "copyToOutput": [ "../../../copyme.txt" ] }
, project.json. :
Root folder: -copyme.txt -WebApplication\src\WebApplication\project.json
Source: https://habr.com/ru/post/1656092/More articles:Conflicts found between different versions of the same dependent assembly in xamarin - c #How to migrate the Azure notification hub to Firebase Cloud Messaging? - androidConflicts found between different versions of the same dependent assembly - visual-studio-2008clearFocus () on empty editText not working in Android - androidVisual Studio + Cordova Remotebuild Error Error: 65 - visual-studiohttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1656093/how-to-add-jcenterjitpack-as-remote-repository-into-apache-archiva&usg=ALkJrhg3lHJ-Uufb5pjWZlTWqdFWNj_4AgHow to write a complex object using Serilog to a valid json format? - jsonFailed to open Xamarin Studio on Windows 10 - xamarinLists F # Interleave 2 - listC # duplicate open code form - c #All Articles