Tuesday, February 12, 2013 3:42 PM
when trying to fetch a file from my TFS with the command 'tf get $/UnitTests/file.txt' the following error occurs:
"An argument error occurred: The workspace could not be determined from any argument paths or the current working directory."
The command was executed in the folder "c:\myworkspace".
I created a workspace and mapped the server folder to an local folder with this commands:
tf workspace /new /collection:[CollectionURL] MYWORKSPACE
tf workfold /map $/UnitTests c:\myworkspace
I'm currently using TFS2012 and Team Explorer Everywhere (version 188.8.131.52212121117).
Is there a way to make the new TEE CLC determine the workspace? (I also tried this with the TEE-CLC-10.0.0.201003261741 and it worked)
The mapping of my workspace should be OK, because calling 'tf get' in "c:\myworkspace" does work without any errors!
Thanks for help!
- Moved by John QiaoMicrosoft Contingent Staff Wednesday, February 13, 2013 2:39 AM
Wednesday, February 13, 2013 3:31 PM
I was able to reproduce that issue, thanks for reporting it. I filed a bug to track it. Currently, the workaround would be either to run tf get and use the workspace option or use a local path.
Sorry for any inconvenience.
Please let me know if you have any other issues/questions.
- Proposed As Answer by Mireille HannaMicrosoft Employee Wednesday, February 13, 2013 3:31 PM
Thursday, February 14, 2013 6:31 AM
Thank you for your quick reply.
Is there a way to set the workspace option?
When i call 'tf get /workspace:MYWORKSPACE' i get this response:
"An argument error occurred: The workspace option is not valid for the get command."
- Edited by florian_woerister Thursday, February 14, 2013 6:32 AM
Thursday, February 14, 2013 2:36 PM
I am so sorry I forgot about that the get command does not take the workspace option. In this case, the only work around remaining is to use a local path. We have a high priority bug to track this issue and w'll try to get it fixed soon.
- Marked As Answer by Edward A ThomsonMicrosoft Employee, Moderator Thursday, February 21, 2013 3:42 PM