I want a particular file copied in with the published output of my web project. I tried changing the Build Action
to Content
and changing the Copy to Output Directory
to Copy always
. This works fine except that it buries it down in a sub folder the same way it is in the project.
I do not want it buried down in a sub folder. I want it sitting right next to the rest of of the published output. I thought I might instead handle this problem using the AfterPublish
Target.
Can someone show how I might do this? I think I'd need to know the path that the person selected in the Publish dialog somehow.