tags:

views:

979

answers:

1

In using tfpt from the command, I'm getting the error:

PS D:\Main Line> tfpt uu /noget
Unable to determine the workspace.

Here I'm trying to use the Undo Unchanged command, but I've seen this error with other commands too. The path I'm at is the exact path that is mapped in my TFS workspace. I also tried this which doesn't work either

PS D:\Main Line> tfpt uu /recursive /noget 'D:\Main Line'
Unable to determine the workspace.

I thought it was just using the current path to figure it out, but I can't get it to work right. Does anyone know how this works?

+4  A: 

I ran into this same issue, I found the answer at the bottom of the page in one of the help files that came with The power tools. (TFPTCommandLineTool.mht)

Errors TFPT Error: Unable to determine the workspace When running tfpt using a command that works with Version Control, you may receive one of the errors:

Unable to determine the workspace Unable to determine the source control server

Solutions:

· Run tfpt from within a directory that is already mapped to Team Foundation source control.

· Update your local workspace cache using the tf workspace command located in :\Program Files\Microsoft Visual Studio 9\Common7\IDE and is available from the Visual Studio 2008 Command Prompt. For example, enter: tf workspaces /s:serverURL

BFoust