Inline Tasks for MSBuild that work with TFS

Someone asked a question about how to do something in MSBuild the other day. They were using the UpgradeTemplate.xaml, so there build process was done almost entirely in MSBuild. What they wanted to do was fairly simple to do in a Task, but they didn’t really want the overhead of creating and maintaining a Task…

1

TFS 2010 – Overriding build settings

This post is for those that are pretty familiar with the TFS Build features in Visual Studio. If you aren’t, this may not make any sense. So, it’s Friday and you just made a gated check-in, but you can’t leave until your build finishes. So, you open up the build details view and stare at…

2

TFS 2010 – Managing the hidden Build Service Host objects

If you use the TFS Build Automation Object Model, then you may have noticed that we have objects that are related to Controllers and Agents, but that don’t show up in the UI. These objects are called Build Service Host objects or IBuildServiceHost objects. The name doesn’t really suggest very much. So, let me give…

2

TFS 2010 – Build menu ids and guids

Okay, so I wrote a post a couple of weeks ago and exposed two of the menu guids for Build. Since then I have been asked for others, so here they all are… Menu Guid (we use the same guid for all build menus):   {34586048-8400-472e-BBBF-3AE30AF8046E} Menu Ids (in hex):  int menuTEBuilds = 0x100; This menu…

4

TFS 2010 – Bulk Updating Build Definitions (Retention Policies)

In this post, I just want to help those of you out there that have upgraded from 2008 and need to bulk update all of your definitions. In this particular example, I will be updating the retention policies to remove the deletion of the label with the deletion of the build. This code is not…

4

TFS 2010 – Viewing the Build Details Log View in Visual Studio is very slow

So, there are several things I want to talk about, but they all boil down to the perf of the Log View in the Build Details window in Visual Studio. Unfortunately, if you have a large amount of data here, it slows down everything until it gets fully loaded. We knew about some of the limitations…

0

TFS2010 – Where is $(BuildNumber)?

So, I have been asked this very question a couple of times now which means it should be searchable for all :). In TFS Build 2008, all of the logic for building on the server was tucked away in a targets file for MSBuild. All Team Build did was to call MSBuild on a special…

6