Answer the question
In order to leave comments, you need to log in
How to execute TFS undo command only if there are files in Pending changes?
The build project comes with an undo command to exclude all files from Pending changes. Under certain conditions, there are no such files and undo does not work:
<Exec command="$(tfcommand) undo /recursive /noprompt "$(SolutionRoot)""/>
IgnoreExitCode="true"
, Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question