Error Unable to determine the workspace TF.exe Shelve

When you are trying to use TF.exe to shelve pending changes using command line tool, you got this error:
Unable to determine the workspace. You may be able to correct this by running ‘tf workspaces /collection:TeamProjectCollectionUrl’. 

To solve this issue map workspace local folder path when you are trying to shelve it and it will work.

2 thoughts on “Error Unable to determine the workspace TF.exe Shelve

  1. I get the same error with checking out a file – I have 3 workspaces mapped locally and I still get the unable to determine workspace when calling tf.exe

Leave a Reply

Your email address will not be published. Required fields are marked *