Skip to content

Install on TFS 2015

Jesse Houwing edited this page May 7, 2016 · 3 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-variable-tasks.git

npm install tfx-cli
pushd .\vsts-variable-tasks\vsts-variable-set
npm run initdev
popd
pushd .\vsts-variable-tasks\vsts-variable-transform
npm run initdev
popd
pushd .\vsts-variable-tasks
msbuild /t:build vsts-variable-tasks.sln
popd

Tfx build tasks upload --task-root .\vsts-variable-tasks\vsts-variable-expand --auth-type basic --service-url https://yourserver/collection
Tfx build tasks upload --task-root .\vsts-variable-tasks\vsts-variable-set --auth-type basic --service-url https://yourserver/collection
Tfx build tasks upload --task-root .\vsts-variable-tasks\vsts-variable-transform --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