Building in Parallel Across Multiple Build Agents with TFS 2010

One of our developers, Patrick Carnahan, has put together a customized build process template that parallelizes a build by platform/configuration. That is, if you use it to build multiple platforms (e.g. “x86” and “x64”) and/or configurations (e.g. “Debug” and “Release”), it will distribute the build of each platform/configuration to a separate Build Agent. You can…

0

Create a Custom WF Activity to Sync Version and Build Numbers

Updated for TFS 2010 RTM! One of the common requests we hear is to provide a way of automatically updating the version information in the assemblies produced by a TFS build. Unfortunately, it’s one of those features that never gets quite high enough on our priority list to get implemented. You may have noticed that…

18

Build Machine Configuration Recommendations for TFS 2010

I’ve fielded a few questions about what type of machine (hardware, operating system, etc.) works best as a TFS 2010 build machine. The answers probably won’t surprise you, but they may serve as helpful reminders as you plan your deployment. Operating System Generally, I’d recommend a server operating system (Windows Server 2003, 2008 or 2008…

1

Build Machine Configuration Recommendations for TFS 2010

I’ve fielded a few questions about what type of machine (hardware, operating system, etc.) works best as a TFS 2010 build machine. The answers probably won’t surprise you, but they may serve as helpful reminders as you plan your deployment. Operating System Generally, I’d recommend a server operating system (Windows Server 2003, 2008 or 2008 R2) for…

1

How to Build Compact Framework Projects with TFS 2010

If you have a Visual Studio 2008 solution with one or more Compact Framework (also referred to as “Smart Device”) projects that you’re trying to build with TFS 2010 or MSBuild 4.0, you’ve probably hit one of the following errors: error MSB4062: The "Microsoft.CompactFramework.Build.Tasks.AddHighDPIResource" task could not be loaded from the assembly Microsoft.CompactFramework.Build.Tasks Or, error…

0

Upgrading TFS 2008 Build Definitions to TFS 2010

If you’re a TFS 2008 user who’s thinking about installing TFS 2010 Beta 2, you may be wondering what will be involved in getting your existing build definitions to work in 2010. You see, build definitions in TFS 2008 are entirely automated using MSBuild. Whereas build definitions in TFS 2010 only use MSBuild for source…

3

Enabling Symbol and Source Server Support in TFS Build 2010

One of the really nice new features in TFS Build 2010 is support for symbol and source server. While the names “Symbol Server” and “Source Server” are somewhat misleading (there isn’t really a separate server involved), the functionality is really useful. Symbols are those *.pdb files that get generated by your builds. Those files make…

2

Building a simple web site with VSTS/TFS 2008

I’ve been working on a web site for a local non-profit as an opportunity to spend more time with VSTS and TFS as a user. I setup TFS 2008 SP1 in a virtual machine running on my home PC and made it accessible from the public Internet. I created the web site as an ASP.net…

1

Resources for Building ASP.net Applications with VSTS/TFS

I often hear that our customers hit challenges when developing ASP.net applications with VSTS and TFS. I’d like to kick off a dialog with a goal of identifying the key pain points so that we can deliver guidance to eliminate, or at least mitigate that pain. Managing Web Application Sources in TFS Version Control Our…

1

Improving Build Performance in TFS 2008

There are a number of things you can do to improve build performance in TFS 2008: Reduce the scope of the Get as much as possible by fine-tuning the workspace mapping. Reduce the verbosity of the MSBulid logger (defaults to “diagnostic” in .NET 3.5) by adding the following to your TfsBuild.rsp file: “/flp:verbosity=normal”. Review these…

0