Archive | Tips & Tricks RSS feed for this section

Set up a Test TFS environment with production databases

I get this question quite a lot. We have a production environment and we want a Test environment for TFS. A Test TFS is quite useful for testing upgrades, setting up builds or testing out some build tasks or just as a sandbox for users who you do not trust with production data 🙂 Although […]

Continue reading

Use Visual Studio Team Services Build to manage your Azure Resource Groups

If you, just like me, have a MSDN subscription you are also provided with some serious Azure Credits. Because I am a Microsoft MVP I received the MSDN Enterprise subscription, allowing me to run 130 euro worth of Azure services. Because I do a lot of demos and experiments I always have a couple of […]

Continue reading

Unattended install of a Visual Studio Team Services (a.k.a. VSO) Build Agent

A while ago I was looking at installing the VSTS build Agent on Linux and was searching for the possibility to uninstall it unattended. I was doing this because I wanted to run my agent in a Docker container and on startup I wanted to run a configured agent. I solved ths by using an […]

Continue reading

Running a Visual Studio Build vNext agent in a Docker container

Update: 27-10-2016 Take a look at the official Microsoft Docker Images on DockerHub that also contain a Build agent With the introduction of the new build engine in Visual Studio Online and Team Foundation Server 2015, Microsoft also introduced real cross-platform build capabilities, The VSO-BuildAgent and tasks are both published as Open source on Github […]

Continue reading

Using Personal Access Tokens to access Visual Studio Online

People who use Visual Studio Online for a while are probably familiar with the alternate credentials. These are used when accessing the REST API or when using an external client for accessing your Git repositories. You configure your alternate credentials on your [My Profile] page and fill a username and password of your choice. Once […]

Continue reading

Modern tools glossary

Maybe I am getting old, maybe I am too busy with other stuff but the number of frameworks, tools and utilities has seemed to grow exponentially over the last years. As a Microsoft developer from “the early” I usually only had to worry about a new version of Visual Studio, Team Foundation Server or a […]

Continue reading

Build fails when associating work items

Recently I ran into a strange problem. I modified a work item type definition and added a field. So far, so good. The field could be edited and everyone was happy. But after that, my build failed. As you may or may not know you can choose to associate work items during a check-in (read […]

Continue reading

Trigger a vNext release template from a build definition throws Http Error 500

Last week I was busy with some work on a vNext Release template. When my release worked I wanted to trigger that release from my build definition. Where as in the agent-based Release Management it was a matter of checking a checkbox and using a different Build Template that triggers this release, in the vNext […]

Continue reading

Making a Work Item Read Only when it has a certain state

I am busy at a customer with implementing some security rules on work items. As you might or moght not know the work item security is quite limited. My scenario is as follows: Only users in group XYZ kan make a state transition from [Draft] to [Approved] When the item is in the state [Approved] […]

Continue reading

Bulk destroy Work Items from Team Foundation Server

WARNING: Destroy work items is a irreversible action so use with caution and at your own risk! Lately I am quire busy with all kinds of migration work to Team Foundation Server. This means a lot of testing, modifying and re-testing. Because the target Team Project has quite some modifications and custom work it is […]

Continue reading