Is there workaround for when TFPT is “unable to determine the workspace” and refreshing the cache does not work?

后端 未结 6 1670
面向向阳花
面向向阳花 2021-02-12 09:55

I\'m having trouble getting TFPT.exe to work at all, even after trying to refresh the cached workspace settings per the usual advice on the internet. See below for a log repres

6条回答
  •  太阳男子
    2021-02-12 10:01

    After taking a fresh look at this, it turns out that 'C:\tfsproj' is a directory symbolic link to 'C:\some\nested\path'. Running the TFPT command from the nested path works as expected.

    Interestingly, the TFS workspace was mapped to the nested path, so it is surprising that TF commands (e.g. tf get /preview) were able work correctly from the alias path.

    I suspect that TFPT does not follow NTFS directory symbolic links correctly when determining the workspace.

提交回复
热议问题