I want a specific file to be copied with the published output of my web project. I tried changing Build Actionto Contentand changing Copy to Output Directoryto Copy always. This works great, except that it attenuates in the subfolder in the same way as in the project.
I do not want him to hide in a subfolder. I want him to sit next to the rest of the published issue. I thought that instead I could solve this problem using AfterPublishTarget.
Can someone show how I can do this? I think I will need to find out the path chosen by the person in the Publish dialog box.
source
share