Quantcast
Channel: Geekswithblogs.net | office Posts
Viewing all articles
Browse latest Browse all 100

2010 version of TF (TFS command tool) unable to determine the workspace that is working with Vs 2012 and TFS 2012

$
0
0
We upgraded to VS 2012 and TFS 2012 a month ago.
I have a backupShelve.cmd that used to work before upgrade, but when I run it yesterday caused the error

Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collection:TeamProjectCollectionUrl'

 
The backupShelve.cmd file is the following 

call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
tf shelve   /replace /comment:"Current backup" CurrentBackupMT01 /noprompt
pause

After some time I've noticed, that batch file refers to version 10 folder instead of "Microsoft Visual Studio 11".

After I've changed folder name, TF started to work.

Viewing all articles
Browse latest Browse all 100

Trending Articles