开发者

tf.exe Unable to detrmine the workspace

I am trying to call TF get command via Team Build script. I am getting the following error

Unable to determin开发者_Python百科e the workspace.

Folks over the internet tell that this error is because Team Build cannot find the workspace because it is being called from a directory which is not part of the workspace.

The solution presented is to specify the working directory. I do so. The mappings are ok in Build Definition path as well as in the workspace. But now i get the following error:

Could not find cmd.exe in the current directory . The directory name is invalid.

Kindly help. Thanks


Solved the problem. I added one more binding in my build Definition Workspace Section and referenced files to get/checkin/checkout with the help of variable $(MSBuildSourceDirectory). Meanwhile I ensured that $(SourceDir) is used to specify mapping in the workspace section of my Build Definiton dialog.

tf.exe Unable to detrmine the workspace


(source: geekswithblogs.net)

At the same time i encountered 260-character path limit, so i modified the output directory in build path as described here

tf.exe Unable to detrmine the workspace


(source: geekswithblogs.net)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜