Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

copy/xcopy on TFS build fails, but is ok from VS build

$
0
0

I have some post-build events, which copy files from one project in my solution to another. 

It works without any problem when I build the solution from Visual Studio.

It fails when I start the build on Team Foundation Server.

With the copy command I get the exit code 1, with the xcopy command I get exit code 4. I get no further details about what might be the issue.

Both projects are web projects.

If I delete the post-build events the build on TFS works fine.


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>