Skip to content

Install on TFS 2015

Jesse Houwing edited this page Apr 4, 2016 · 2 revisions

If you want to use these tasks on TFS 2015 RTM or update 1, you can't use the extension from the marketplace. Instead you'll need to install the tasks individually. The process is simple:

git clone https://github.com/jessehouwing/vsts-tfvc-tasks.git

npm install tfx-cli

copy .\vsts-tfvc-shared\*.psm1 .\vsts-tfvc-tasks\vsts-tfvc-add
copy .\vsts-tfvc-shared\*.psm1 .\vsts-tfvc-tasks\vsts-tfvc-delete
copy .\vsts-tfvc-shared\*.psm1 .\vsts-tfvc-tasks\vsts-tfvc-undo
copy .\vsts-tfvc-shared\*.psm1 .\vsts-tfvc-tasks\vsts-tfvc-checkin
copy .\vsts-tfvc-shared\*.psm1 .\vsts-tfvc-tasks\vsts-tfvc-updateshelveset

Tfx build tasks upload --task-root .\vsts-tfvc-tasks\vsts-tfvc-add --auth-type basic --service-url https://yourserver/collection
Tfx build tasks upload --task-root .\vsts-tfvc-tasks\vsts-tfvc-delete --auth-type basic --service-url https://yourserver/collection
Tfx build tasks upload --task-root .\vsts-tfvc-tasks\vsts-tfvc-undo --auth-type basic --service-url https://yourserver/collection
Tfx build tasks upload --task-root .\vsts-tfvc-tasks\vsts-tfvc-checkin --auth-type basic --service-url https://yourserver/collection
Tfx build tasks upload --task-root .\vsts-tfvc-tasks\vsts-tfvc-updateshelveset --auth-type basic --service-url https://yourserver/collection

Due to the way I develop and deploy these tasks you may need to edit the task.json and update the version number.

If your Team Foundation Server does not support basic authentication you can use this trick to bypass that requirement.

Clone this wiki locally