Display Custom Build Steps in the Team Build IDE


Once you start overriding targets and creating a more complex build project, you may find that the minimal build steps provided in the build IDE get a little frustrating. There are a few samples that show how to display custom Build steps, but no usable task. I’ve written a stripped down task and am making it available for download.

To use this task, simply add the task to any sections of your TFSBuild.proj file where you would like a custom step to be displayed.

e.g.

With no custom steps, the build would look like this:

By adding

<Target Name=”AfterGet”>
<ShowBuildStep TeamFoundationServerUrl=”$(TeamFoundationServerUrl)” BuildUri=”$(BuildURI)”
BuildStep=”…Preparing compilation Environment“/>

…[your code]…  </Project>

you get

Remember to import the task in your TFSBuild.proj file (e.g. <Import Project=”D:\BuildTools\FreeToDev.Tasks” />)

Note: This assembly is signed. When queried you should get a public key of: 10d297e8e737fe34

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s