Wednesday, May 30, 2012 1:02 PM
something is wrong...
I'm usign TFS Build API to change DropLocation and build lof file location for successfull builds. For this operation I use
var oldLogLocation = buildDetail.LogLocation; var newLogLocation = Path.Combine(buildDetail.DropLocation,"BuildLog_" + buildDetail.BuildNumber + ".txt"); buildDetail.LogLocation = newLogLocation; buildDetail.Save();
and after that I can programmatically see that the path to the file log for this particular build has been changed. But if I remove old BuildLog.txt from the DropLocation I cannot see logs of this build in the TFS build explorer (link to the MSBuild Log File)
Also I found the static class
So how can I correctly change the path to the build log file? Or shell I change it only through the DropLocation or DropLocationRoot and is the file name immutable?
Sunday, June 03, 2012 7:45 AMModerator
Thanks for your post.
I’m currently looking into this issue and will give you an update as soon as possible.
If you have any further resarch of this issue, please share your experience here.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
Monday, June 04, 2012 6:44 AM
thank you for your reply!
unfortunately, I have no direct access to the TFS database so my research is finished, but I look forward to your answer
Wednesday, June 20, 2012 8:07 AM
is there any update on this question?