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…


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

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 – 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

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 – 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

TFS 2010 – Custom Process Parameters Part 3 – Custom Editors

In the last post of this series, we added metadata to our custom process parameter and I described all of the metadata that you can use to describe your custom process parameters. I also mentioned that we would talk more about some of the more complicated bits of metadata. The Editor property of the process…

12

TFS 2010 – Custom Process Parameters Part 2 – MetaData

This is a continuation of the Part 1 post. In the last post, we created a Hello World process template that uses a custom process parameter to pass in the text “Hello World!” And we showed that it worked pretty easily. But I skipped over something that perhaps you noticed. When you look at this…

11

TFS 2010 – Custom Process Parameters Part 1

What are process parameters? These are the objects that we pass into the build process that determines what will be built, what tests to run (and how), and all the other switches that decide what happens. How are they passed in? The process parameters can be set and/or modified in 3 different places. The XAML…

3