Reputation: 1
I have a requirement to publish a .net desktop application to an on-prem machine which I have now installed VSTS agent on successfully registered. The VSTS release can see the machine OK and it works until downloading the artifact.
I have below settings for Copy files in the Release Definition:-
the settings for Publish Artifact task is :-
I want to copy the build output to a local folder on the designated machine. When release process starts, the artifact is copied to the local machine under vsts work folder OK, however, when the Copy Files process start, it fails with error can't find the folder.
while this folder is available there on C: drive.
Any help is much appreciated. thanks
Upvotes: 0
Views: 246
Reputation: 59036
Publish Artifacts
is the wrong task to use for this. That's intended to be used in your build process.
Just use Copy Files
.
Upvotes: 1