How to add your own message in the build report
If you’ve ever wanted to add your own message in the “Build Steps” section of the detailed build report, Aaron Hallberg provides a custom task to do it.
Aaron, along with the rest of the team, had been focused on finishing up the continuous integration feature for Team Build. I’m happy to say that we got it finished and checked into the main-line code this week. It’ll be in the next CTP that’s released. It’s also in a Channel 9 interview that Brian Keller taped yesterday where Jim Lamb and I talk about Team Build as well as demonstrate the new features. Brian recorded interviews with a number of TFS folks here in NC, which should be available in the near future.
In any case, during a conference call the other day, a Team Build user expressed a desire to easily insert build steps into a build from within a csproj file… In previous posts I have laid out custom tasks which, as part of their execution, insert build steps. In this post, I lay out a simpler custom task which inserts arbitrary text as a build step – think of it as a <Message> task in Team Build form.