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.

Specifying What’s Included In A New Test Project

When you create a new test project the following files are added to it by default:

  • AuthoringTests.txt
  • ManualTest1.mht
  • UnitTest1.vb (or UnitTest1.cs)

You can configure what files are added in Tools | Options | Test Tools | Test Project as shown here:

image

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.

Error writing to ‘vsvars32.bat’ after Visual Studio Team System 2008 installation

After upgrading one of our production environments to Visual Studio Team System 2008 whenever I launched Microsoft Word (or something that uses Microsoft Word such as Microsoft Outlook) the Windows Installer dialog would appear and after some time complain that it could not write to C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat. Because I’m running Windows Vista I don’t by default have write access to the files under C:\Program Files\ and the installer wasn’t prompting me to escalate my privileges which resulted in the installer failing.

I thought the solution to the problem was to explicitly launch Microsoft Word as administrator once to allow the installation to complete successfully. Unfortunately it appears to be a per-user installation, so what I had to do was temporarily grant the Users group Full Control to C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat to allow the installation to complete as the current user.

UPDATE: This made the installation succeed but didn’t stop it running every time I launched an Office product.

UPDATE 2: It turns out that this was actually caused by a conflict with the WinZip Email Companion add-in. Disabling this made the problem go away.

Visual Studio Hotfixes

Brian Harry has blogged about the MSDN Code Gallery web site which not only contains numerous code samples and add-ins but is also used to publish the Visual Studio hotfixes.