-
Notifications
You must be signed in to change notification settings - Fork 447
Sync not working as -collection specified in the command line #224
Comments
Hi @nigelgrannum. There are several commands where In the TFVC Output window, you'll see a message similar to either: The first is the TEE CLC, the second is TF.exe. Can you enable debug logging and provide the log file here (you may want to scrub some of the information before posting)? I don't expect that it is failing due to the lack of the EDIT: In my original post, I erroneously stated that |
I am using It works for my colleague because his vscode is not adding the -collection argument. |
@jeffyoung. See the attached file for debug info. |
Thanks @nigelgrannum. I believe the version of TF.exe that you have isn't quite a recent enough version (and the detection that I updated relatively recently doesn't seem to be sufficient to detect it). In your log the first error I see is I do try to detect the version and pop a message that the version isn't recent enough but the current minimum I look for is 14.102.0. I think there might be some version higher than 14.102.0 that still doesn't contain the XML support we need. |
@jeffyoung Here you go. Microsoft (R) TF - Team Foundation Version Control Tool, Version 14.102.25619.0 Adds new files and folders from a local file system location to Team Foundation tf vc add [itemspec] [/lock:(none|checkin|checkout)] [/encoding:filetype] |
Thanks @nigelgrannum. This is pretty embarrassing but can you change your |
@jeffyoung . That fixed it. Thanks a lot. |
When running any TFVC command it is failing unexpectedly. The command line has the -collection argument as in
tf get -noprompt -collection:https://ourcompany.visualstudio.com ******** -nosummary c:\Modules\User Interfaces\App -recursive
On my colleagues computer
-collection
is not an argument on the command line.The text was updated successfully, but these errors were encountered: