When I tried to call command-line to get latest update for my TFS mapped folder
TF get /recursive
The call complete successfully from the run window of Windows 7.
However, when I put the call into a .bat file and run it via InvokeProcess within a build definition (guide to do that), it failed.
The message is as below.
Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collection:TeamProjectCollectionUrl'
What happens? How can I get around with that?
CD /Din my batch script. I'll try to set the working folder then. TFS version is 2012Working Directoryin the properties of InvokeProcess activity but the error stay the same.cd /dto? Can you confirm that the user the build is executing under has a workspace configured for that directory?