Reputation: 2516
I want to copy a file test.txt
into the root directory of my MVC application as part of our build process.
We are using VSTS
and in my build definition I have added a task Copy Files
In the task I am setting:
My Website/test.txt
**
$(Build.ArtifactStagingDirectory)
After the build and release has taken place I expect to be in the root directory of the application, but it isn't?
Can anyone help with what I'm doing wrong?
Upvotes: 1
Views: 167
Reputation: 39898
Source Folder
should point to MyWebsite
, Contents to test.txt
or to *
, not **
.
**
is meant for recursive folders and files like this: **\*
.
Upvotes: 1