gpt4 book ai didi

tfs - 当 TFPT 为 "unable to determine the workspace"并且刷新缓存不起作用时,是否有解决方法?

转载 作者:行者123 更新时间:2023-12-01 21:50:55 25 4
gpt4 key购买 nike

即使在尝试按照互联网上的常规建议刷新缓存的工作区设置后,我也无法让 TFPT.exe 正常工作。请参阅下面的日志,了解我所尝试和所看到的内容。谁能解释为什么“tf get”能够确定工作空间,但“tfpt annotate”失败?

C:\tfsproj> set tfptcmd="C:\Program Files (x86)\Microsoft Team Foundation Server 2010 Power Tools\TFPT.exe"
C:\tfsproj> set tfcmd="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe"
C:\tfsproj> %tfcmd% workspaces /s:http://tfs:8080/tfs/Apps
Collection: tfs\Apps
Workspace Owner Computer Comment
--------- -------------- -------- ---------------------------------------------
DAVID David_Zarlengo DAVID

C:\tfsproj> %tfcmd% get /preview
C:\tfsproj\src\:
Replacing Readme.txt

C:\tfsproj> %tfptcmd% annotate src\Readme.txt
Unable to determine the workspace

当我在 Visual Studio 2010 中编辑工作区时,“工作文件夹”网格包含 3 行,其中一行是“Active, $/Foo, C:\tfsproj”,因此,我假设该文件夹已正确映射。

交叉发布于 Team Foundation Server – Power Tools & Add-ons

最佳答案

此建议来自a similar discussion on MSDN forums帮助了我:

You need to make sure that you are running the commands from a mapped folder, you can run tf workfold to see if the current folder is mapped or not (i.e in your case run the commands from C:\Temp)

关于tfs - 当 TFPT 为 "unable to determine the workspace"并且刷新缓存不起作用时,是否有解决方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6455942/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com