Building in Parallel Across Multiple Build Agents with TFS 2010

One of our developers, Patrick Carnahan, has put together a customized build process template that parallelizes a build by platform/configuration. That is, if you use it to build multiple platforms (e.g. “x86” and “x64”) and/or configurations (e.g. “Debug” and “Release”), it will distribute the build of each platform/configuration to a separate Build Agent. You can…


Windows Workflow vs. MSBuild in TFS 2010

I often hear people asking if Windows Workflow replaces MSBuild in TFS 2010, so I wanted to take a moment to comment on this question.


Turn on Compile-time View Checking for ASP.NET MVC Projects in TFS Build 2010

When you create a View for an ASP.NET MVC web application, you add an .ASPX or .ASCX file that uses the ASP.NET engine to render a combination of mark-up and code. Unfortunately, those Views don’t get compiled until IIS renders them for your web site which means that something as simple as a typo in…


CustomizableOutDir in TFS 2010

Aaron Hallberg had previously blogged about Preserving Output Directory Structures in Orcas Team Build. The approach he described allows you to work around the problem of having all of your build outputs dumped into a single directory. Unfortunately, things have changed in TFS 2010 and the approach he describes is no longer applicable. There is,…


Configuring Multiple TFS Build Services on one Machine

In TFS 2010, the Build Service is a Windows Service that is associated with a particular TFS Team Project Collection. Each Build Service support zero to one (0..1) Build Controllers and zero to n (0..n) Build Agents. Each Build Agent is associated to a specific Build Controller but an Agent and its corresponding Controller don’t…


Test Page

This is a test of some source code embedded from Gist How does it look?


Installing just the Server Components of TFS 2010

If you’re developing (or planning to develop) on the Team Foundation API and you want to get the server assemblies installed on your machine in addition to the client assemblies that are included with Visual Studio, just follow these simple steps: Launch Setup from the TFS 2010 media Navigate to the feature selection page of…


How to: Implement, package and deploy custom check-in policy for TFS 2010

This How to article walks you through the process of creating, packaging, deploying and applying a custom check-in policy for TFS. Check-in policies let you run rules, whenever someone attempts to check-in a set of changes, to ensure that the changes meet a specific set of criteria. As an example, this article illustrates how to…


Extending Team Projects and Team Explorer in TFS 2010

In this post, I’m going to walk you through a TFS SDK sample that extends Team Projects and Team Explorer in TFS 2010. This solution is implemented as a Visual Studio Industry Partner (VSIP) package and includes a Project Creation Wizard plug-in and a Team Explorer plug-in. To get started, just follow these steps: If…


Create a Custom WF Activity to Sync Version and Build Numbers

Updated for TFS 2010 RTM! One of the common requests we hear is to provide a way of automatically updating the version information in the assemblies produced by a TFS build. Unfortunately, it’s one of those features that never gets quite high enough on our priority list to get implemented. You may have noticed that…