TFS 2010 – Making Your Build Log Less Noisy

So, I have been asked this question a couple of times now and so I decided to put it out there for everyone. If you are creating custom build templates that do a lot of looping or other work that seems to make the build log way too noisy, you may want to hide some…

3

TFS 2010 – Ordering the Build Process Parameters On The Definition

So, I had someone ask this question about the process parameters on the Process tab of the Build Definition Editor – “How can I get the Advanced category above the Basic category?” I decided it would be better to share this with everyone, since it isn’t documented anywhere. The first thing to note is that…

17

TFS2010 – Customizing the Build Details View – Summary View

In some previous posts (here and here), I talked about ways to change the log view part of the build details view. This time I want to discuss how to change the Summary view. It is a little more difficult, but the extensibility is there for you to change it! So, let me first show…

17

TFS 2010 – Build Security API

I had a request recently on how to “Secure” a build from code. While I am still not sure there is a great way to do that. What I found is that there is next to no information on the TFS Security API. So, I thought I would post this code here as an example…

3

TFS 2010 – Managing Build Process Templates (what are those?)

If you haven’t noticed already in 2010. New build definitions no longer use the tfsBuild.proj file or the Microsoft.TeamFoundation.Build.targets file. With the switch to Windows Workflow as the base technology that the build process runs on we no longer need those MSBuild artifacts. But we do need a way for you to define the build…

9

TFS2010 – Queuing a Build (from code) With Custom Process Parameter Values

I got a question today on how to access the process parameters of a build definition in 2010. If you haven’t looked at that property, yet, you might be surprised to find out it is just a string. Unfortunately, we chose to do it this way for various reasons. It would more naturally be a…

6

Using The Custom Assembly Path to Deploy Custom TFS Checkin Policies

First, what is the Custom Assembly Path? In TFS 2010, we added a feature to the Build infrastructure that will automatically copy dlls checked into version control to the Build Machine. This functionality was added so that the custom build process designer didn’t have to visit each and every build machine to deploy his custom…

1

Creating Fake builds in TFS Build 2010

It was brought to my attention that the code I posted here no longer works in TFS Build 2010. So, I promised I would update the code. In doing so, I realized there were some things I should probably explain: 1) In TFS 2010, you can no longer simply create a controller or agent by…

17

TFS 2010 – The New Build Definition Window

The build definition dialog is now a window! Why is that so exciting? Well, let me tell you… Now you open two definitions side by side and copy information from one to the other! If you forget some bit of information, like where your solution file is, you don’t have to close the dialog to…

7

TFS 2010 – Custom Process Parameters Part 4 – Custom Types

In my previous posts, we discussed… Custom Process Parameters Process Parameter Metadata Custom Editors In this post, I want to continue this discussion of process parameters and explain how to use your own custom types for process parameters. Previously, we used a String version number (i.e. “Beta2.0.30111.12”). But what if we would like to do…

10