in

Platinum Bay

Peace, Love, Team System, and Community

This Blog

Syndication


.NETicated

Team Build Property Reference Guide

TeamBuildPropertyTargetReferenceI’ve been working quite a bit with Team Build lately, and overriding properties is a method of customization I’ve found quite useful in certain scenarios. Along the way, I found Aaron Hallberg’s excellent Team Build 2008 Property Reference blog post, but it didn’t show me where the properties were referenced. In fact, there isn’t an easy way to determine where any particular Property is being used or set other than reading through the 1,500 lines in the Microsoft.TeamFoundation.Build.targets file. I decided to spend a few hours, read through the file myself, and compile a chart of each Property, what Target it is referenced by, and how it is referenced.

Hopefully the chart is self-explanatory, but here’s some tips:

  • Target names are along the horizontal axis
    • Base represents the root of the Targets file where global Properties are set
  • Property names are along the vertical axis
  • Legend
    • Set: The Property is Set inside the Target. In the case of
    • Used: The Property is used inside the Target
    • Condition: The Target or a contained Task references the Property in a condition
    • Error If Exists: Team Build will throw an exception if the Property is set, or not set, under the right conditions
    • Null Error: Team Build will throw an exception if the Property is null
    • Depends On: The target has a DependsOn for the Property. The Property contains a semi-colon delimited list of Target names

I do not claim the chart to be 100% without error, so verify before you use it. Please send any updates or corrections to me.

As a side note, if you are working with Team Build, Aaron Hallberg’s blog is choked full of Team Build goodness.

Comments

October 12, 2009 5:25 AM

Pingback from  Dew Drop – October 12, 2009 | Alvin Ashcraft's Morning Dew

 

October 14, 2009 4:59 AM

Pingback from  Twitter Trackbacks for                 Team Build Property Reference Guide - .NETicated         [platinumbay.com]        on Topsy.com

 

Leave a Comment

(required )  
(optional )
(required )  
Add

About Steve

Steve Andrews is a Team System MVP and INETA Speaker, and has been working as a developer for more than 9 years. During this time, he has designed and developed applications in such widely varying areas as trust accounting, medical information management, supply chain management, and retail systems. Steve is also an MCP, ICSOO, Speaker Liaison for the Philly .NET User Group, and community fanatic.
Powered by Community Server (Commercial Edition), by Telligent Systems
© Platinum Bay | Some Rights Reserved Creative Commons License

Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or annonymous comments) - so keep it polite, please.