Handling builds via Team Foundation Server 2017 REST API

In this post I am going to show you how to utilize the new TFS 2017 REST API. In particular you will see how easy is to list, queue and manage builds for your team project. The plan is to Authorize to TFS 2017 on premise and connect to its web rest api. Get a list of team projects For particular team project get a list of build definitions Queue particular build definition Chec…

By Mirek on (tags: build, HttpClient, REST, tfs, categories: infrastructure, web)

Signing ClickOnce with password protected PFX certificate

This time I had to find out how to make the TFS build step use a PFX certificate file to sign the ClickOnce manifest. It turned out to be quite a tricky task though. But let me first describe the situation. Normally when you want to sign the ClickOnce manifests you need to go the the project properties in Visual Studio and in Signing tab provide an appropriate certificate The c…

By Mirek on (tags: certificate, ClickOnce, deployment, Mage.exe, tfs, categories: tools, infrastructure)