TargetsNotLogged Hotfix Available


I did a post a while back on a change in TFS Build SP1 which reduced build log noise by cutting out the build steps for project-to-project references (of the form "Project ‘project’ is building project ‘dependent project’ for target(s) ‘GetNativePath’", and so forth).  Unfortunately, as noted on the TFS Build forums and elsewhere, the fix in SP1 didn’t actually fix the problem, at least not completely.  In particular, the mechanism we used to communicate the TargetsNotLogged property to our logger and thereby skip the logging of particular targets only worked the first time a particular project-to-project reference was evaluated.  As such, if a project was referenced by 10 other projects the fix in SP1 would reduce the number of spurious build steps from 10*3 to 9*3 rather than removing them altogether.

A hotfix is finally available that will address the remaining parts of the problem – it can be downloaded here.  Note that this hotfix assumes that you have already installed SP1 on your build machine, so make sure to install SP1 and then the hotfix if you are currently running TFS Build 2008 RTM bits.  After this hotfix is applied you should, by default, never see another project-to-project reference build step – I’ve heard reports from some customers of this reducing their total number of build steps from over 3000 to under 200, so in some cases this can have a dramatic effect on build time (each of those build steps corresponds to a server call made during the build).


Comments (10)

  1. From Aaron Hallberg blog : […] change in TFS Build SP1 which reduced build log noise by cutting out the

  2. The Microsoft Press Blog on All Sayed all the time (and MSBuild) Willy-Peter Schaub on SDLC – Software

  3. Buck Hodges says:

    Quite a few folks have reported longer build times and noticed that the build details view has a lot

  4. El Bruno says:

    Buenas, todo el mundo sabe que una de las bases de un modelo de programación ágil es que las builds sean

  5. El Bruno says:

    Buenas, todo el mundo sabe que una de las bases de un modelo de programación ágil es que las builds sean

  6. El Bruno says:

    Buenas, todo el mundo sabe que una de las bases de un modelo de programación ágil es que las builds sean

  7. Jim Lamb says:

    There are a number of things you can do to improve build performance in TFS 2008: Reduce the scope of

  8. Is it only for English version? I have Traditional Chinese TFS 2008 Build SP1, Microsoft.TeamFoundation.Build.Server.Logger.dll is 9.0.30729.1. It says there is not installed any product it want to find.

  9. darwinsiegel76 says:

    Beginner triathlon training should focus on learning how these three separate events interact with one another, and how this affects your body.

    When choosing a <a href="http://www.triathlontrainingschedule.org/strength/triathlon-strength-training">triathlon workouts</a>, it should contain achievable goals for you to meet each calendar week and should increase the load gradually.  If you can, try to recruit a friend or join a team in <a href="http://www.triathlontrainingschedule.org/">Beginner triathlon training</a>.  Your calendar (and, if you can find one, your training partner) will help keep you on track and progressing along your <a href="http://www.triathlontrainingschedule.org/">Beginner triathlete</a>training plan.

  10. Rest Report says:

    Wow! Glad to have such entry on the web! Hope you will post another like this one <a href="adelinejoellesa.typepad.com/…/what-else-does-the-rest-report-do.html">Rest Report</a>

Skip to main content