Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build

I’m proud to say that after many months of work Sayed Ibrahim Hashimi and I have completed work on Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build (PRO-Developer). It is being published by Microsoft Press and is due out on 7th January 2009.

TFS 2008 Service Pack 1 Bug Fixes

Brian Harry has published a list of bug fixes that shipped in TFS 2008 Service Pack 1. What I also found interesting from this list is the breakdown of where different bugs were detected or reported.

Update to Team Foundation Server Power Tools (TFPT)

A new version of the Team Foundation Server Power Tools has now been released.

This version of the Power Tools is targeted at Visual Studio Team System/Team Foundation Server 2008 only so be aware that this version will not work with 2005.

In addition to support for 2008 this version also boasts a number of new and very useful features:

  1. Navigate to Windows Explorer which opens Windows Explorer to the folder corresponding with the current folder in the Source Control Explorer. Additionally, this can be bound to a keyboard shortcut!
  2. Find in Source Control which allows you to find items based on status or wildcards. Hopefully, we’ll see a version of this in the future that can search contents as well.
  3. Build Notification which is a system tray utility to notify you about the status of builds. Jim Lamb blogged about this some time ago.
  4. DestroyWI and DestroyWITD which allow you to remove work items and work item type definitions. This is invaluable if you are creating or customising your own work item types.
  5. The Process Template Editor can now be run standalone outside of Visual Studio.
  6. Annotate, TreeDiff, annd TestToolsTask have been removed because they’re now part of 2008.

Brian Harry discusses some of these features on his blog.

Upgraded to TFS Service Pack 1

I decided that I’d put off the upgrade to TFS Service Pack 1 for long enough and did the upgrade on our production server yesterday.

The good news is that it went very smoothly and the only hiccup I encountered was actually related to installing SQL Server Service Pack 2 (which we chose to do at the same time). The problem was simply that there wasn’t enough space available on the system drive to complete the installation.

For those of you that are interested the process I followed is:

  1. Take a snapshot of the virtual machine.
  2. Stop IIS (iisreset /stop).
  3. Perform a full backup of all of the SQL Server databases.
  4. Start IIS (iisreset /start)
  5. Install Windows Powershell (required by the TFS Best Practice Analyzer).
  6. Run the TFS Best Practices Analyzer.
  7. Install the Quiescing GDR on the TFS server and the TFS proxy.
  8. Install TFS Service Pack 1 on the TFS server.
  9. Install TFS Service Pack 1 on each of the build machines.
  10. Install TFS Service Pack 1 on the TFS proxy.
  11. Test.

I also performed a couple of extra steps:

  1. Install SQL Server Service Pack 2.
  2. Install Team System Web Access.
  3. Modified the Work Item Changed XSL to link to Team System Web Access.
  4. Install hotfixes for the 2 issues we’ve come across.
  1. FIX: Error message when you perform a merge operation in Visual Studio 2005 Team Foundation Server: “TF14087: Cannot undelete because not all of the deletion is being undeleted”.
  2. FIX: When the Microsoft.TeamFoundation.VersionControl.Adapter adapter processes a changeset, the adapter may fail in Visual Studio 2005 Team Foundation Server.
  • Restricted SQL Server to 1 Gb memory.
    1. Because we’re using a single server configuration we’re testing whether there will be a performance improvement by restricting SQL Server’s memory to ensure that there is memory left for the application “tier” and the OS.

    End To End Build Automation With Team Build

    I’ve uploaded my End To End Build Automation With Team Build presentation to SlideShare. I originally presented this at VSTS Tech Brekkie and Queensland VSTS Users Group.

    [slideshare id=90899&doc=end-to-end-build-automation-with-team-build2011&w=425]

    What’s New in MSBuild 3.5 and Team Build 2008

    In June I presented at the Sydney .NET Users Group, Canberra VSTS User Group and the Queensland VSTS Users Group on What’s New in MSBuild 3.5 and Team Build 2008. The slides from this presentation are now available on SlideShare.

    [slideshare id=90893&doc=whats-new-in-msbuild-35-and-team-build-20084033&w=425]