Building Non-MSBuild Projects With Team Build

Building non-MSBuild projects in Team Build has never been a particularly nice experience…  You can make it work, typically by invoking DevEnv.exe or some other tool using an Exec task, but you don’t get any output in your build report, can’t control the output sent to your build log, etc.  Additionally, it was recently pointed…

24

Team Build DevEnv Task

Because many Visual Studio project types are not supported in MSBuild, many Team Build users end up needing to invoke DevEnv directly.  There is a fair amount of confusion about how to do this best / simplest – I’ve written two posts (here and here) on the issue already!  As such, I thought it would…

23

Team Build and 260+ Character Paths

A fairly common issue in Team Build v1 involved builds failing due to paths that exceed 260 characters – see this forum post, for example.  260 characters is not a Team Build limit – it is a Windows limit.  See here for a reference on this topic… Team Build builds do tend to run into the 260 character limit more…

23

Adding BuildSteps to Team Build through a Custom Task

Team Build displays Build Steps in the build report form within Visual Studio.  By default, build steps are added at various points during the course of a build – while getting sources (in the Get task), compiling solutions / projects, copying files to the drop location, etc.  Team Build allows users to insert their own…

21

Team Build 2008 Property Reference

There are lots and lots of MSBuild properties available to Team Build 2008 build definitions, most of which are probably unknown to the majority of users.  As such, I’ve tried to compile a comprehensive list of these properties so that they can (hopefully) be more widely used.  I’ll do the same thing at some point…

17

Preserving Output Directory Structures in Orcas Team Build

A common complaint with Team Build v1 was that it ignored the output paths specified for individual projects and just dumped all binaries and other compilation outputs into a flat directory structure…  In previous posts (e.g. this one) I have discussed various methods for getting around this problem in v1.  In Orcas we’ve tried to…

14

Team Build and Web Deployment Projects

Various issues arise when trying to use Team Build with Web Deployment Projects (which are a Visual Studio 2005 add-in available for download here).  I’m going to try and use this post as a repository for these issues and their workarounds, etc. Team Build + Web Deployment Project + Web Application Project Combination is Broken Background: …

13

Passing custom properties to individual solutions in Team Build

Gautam Goenka posted an article on this topic way back on April 20, 2006.  It included a targets file which overrode the standard Team Build CoreCompile target and allowed user-specified properties to be passed into the MSBuild tast that Team Build uses to build the solution in the SolutionToBuild item group.  This approach is fine…

12

Determining Whether Tests Passed in Team Build

In a forum post a while back, I laid out a method for determining whether tests had passed during a build.  More recently, I have linked to this forum post in advising others on similar problems.  Unfortunately, as a sharp user pointed out in this same thread, my solution doesn’t actually work, since it relies…

11

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…

10