I'm writing build script and am trying to get files from TFS through command line, but couldnt get them working. Always get message "All files up to date", while no file exists.
I delete existing workspace and create new workspace and map to local folder. All of it works without error. However after that I'm not able to get the files. What could be wrong. What other steps I need to do to diagnose it.
Below is the list of commands and results:
D:\temp\tfs\Dev>tf workfold
====================================================================
Workspace: xantworkspace
Collection: https://dev.company.com/tfs/
$/allProjects/MobileProject/Dev: D:\temp\tfs\Dev
D:\temp\tfs\Dev>tf dir
There is no working folder mapping for D:\temp\tfs\Dev.
D:\temp\tfs\Dev>tf get
All files up to date.
D:\temp\tfs\Dev>tf get /all
All files up to date.
D:\temp\tfs\Dev>cd ..
D:\temp\tfs\Dev>tf get /all /force
All files up to date.
D:\temp\tfs\Dev>tf get /all /force /overwrite
All files up to date.
D:\temp\tfs\Dev>tf get /all /force /overwrite /recursive
All files up to date.
D:\temp\tfs\Dev>tf get /all /force /overwrite /recursive /version:T
All files up to date.
In TFS, $/allProjects/MobileProject/Dev has files, folders under it.