Archive | Build RSS feed for this section

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

Integrating TeamCity with Team Foundation Server – Part 2

In my previous post I introduced TeamCity as  an alternative build server to use in conjunction with Team Foundation Server. This post mainly focused on getting started with TeamCity and building sources coming from Team Foundation Server. At the end of this previous post I talked about the dependency of TFS artifacts with the TFS […]

Continue reading

Integrating TeamCity with Team Foundation Server – Part 1

In this cross-platform world, where everything integrates with … well everything, it is not unusual to come across companies that use more than one system for their Application Lifecycle Management. Team Foundation Sever offers a great solution if it comes to ALM. Work Item Management, Build Management, Release Management etc. But there is more available […]

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

Silently install and configure a TFS Build server with Powershell DSC

A while ago Powershell Desired State Configurations (DSC) was introduced. Powershell DSC allows you to create a configuration of a specific machine in a powershell file. The Powershell engine takes care of rolling out this configuration. This configuration snippet makes sure a IIS is present. If it already is it stops, if not, it installs […]

Continue reading

Error in TFS 2013 build – Could not load file or assembly ‘Microsoft.VisualStudio.Services.WebApi

Recently I installed TFS 2013.2 and modified some Build Templates. I also installed a separate Build Server that executes these builds for me. My build template was based on the default TFS 2013 Build template (Tfvctemplate.12.xaml) When my build executed, it ran for a while, but eventually it stopped with a nasty error message An […]

Continue reading

TFS Build throws CRC in GZip footer error

This week I encountered a really nasty problem with the Team Foundation Server Build Agents. Before I walk you through the details let me first explain the situation. Scenario At a customer we are building a new build “farm” (a little farm 😉 ). Currently we have 2 build servers with each 2 agents on […]

Continue reading

Hidden Gems in TFS 2012–Part 8 Related Work Items in a Build Report

In this series of blog posts I like to highlight some features of TFS/Visual Studio that people seem to overlook. In my day to day job I often see that people don’t know about certain feature that are available in Team Foundation Server, Visual Studio or some of the Powertools. Some features are available as […]

Continue reading

Custom Build Activities Type is greyed out in Build Definition editor

Lately I am quite busy with building Custom Build activities for TFS 2012. I also did this in TFS 2010 but it seems that I avoided some issues there. In my previous blog posts I described some migration issues with TFS build. This is about an issue I had with Custom Build Activities. Error when […]

Continue reading

‘Microsoft.TeamFoundation.Build.Client.IProjectFile’ is obsolete

For my customer I was implementing some advanced BuildNumbering mechanism (Here can you find a good post about this). Because it was important that the stuff worked, I wrote some Unit Tests. I usually do that and need IBuildDetail. Jim Lamb has a great post about how to stub The IBuild…interfaces when you create your […]

Continue reading