-1

Trying to upload txt file as attachment to workitems in TFS but I get this:

"Unable to determine source control server."

I tried tf workspaces collection:"http..." and it gives me a list of workspaces but doesn't do anything.

Upload command was typed like this:

tfpt workitem /uploadattachment 1234 fileName.txt

Interesting, downloadattachment works, and changing title works, just uploadattachment doesn't.

any advices??

tamtam
  • 11
  • 1

1 Answers1

0

Specify the /collection:uri option.

Giulio Vian
  • 8,248
  • 2
  • 33
  • 41
  • I have specified it, I just didn't write it here. tf workspaces /collection:"http://asdf:8080/tfs/asdf" – tamtam Mar 22 '16 at 13:44