Continuous Integration with Assembly Version task

Changgyu from Avanade brought this interesting problem to my attention – If you are using Continuous Integration with Assembly Version task, build server will go into infinite recursion of builds.  Each CI build will update the assembly version and the task will make the checkin, which in turn will ask the CI web service for another build….


Passing custom properties to each individual solutions in Team Build

Though one of my earlier blogs is titled “Building .NET 1.1 application using Team Build“, the principal used in that blog can easily be generalized to pass any custom property to each solution/project file while building using Team Build. Say you want to sign each assembly built by a key. One option is to open each…


Writing a custom MSBuild Logger for Team Build

While building using Team Build, the build process creates one log file (for compilation and code analysis errors and warnings) per platform-flavor for all solutions.  However, few weeks back, while talking to a customer about Team Build, a new requirement came up. The customer wanted to have one log file per platform-flavor per solution. In his scenario, they had not…


Building .NET 1.1 application using Team Build

One of the FAQs in Team Foundation forums have been on “how to build .NET 1.1 application using Team Build”.   My colleague Nagaraju put up this blog to give out detailed steps for this. Apart from this, there were various other solutions on how to build .NET 1.1 using MSBuild (and hence in turn by Team…


Using AssemblyInfo task with Team Build

Fixed a bug in the snippet as pointed out by Peter from Microsoft Consulting Service. I was earlier using ItemGroup to get all AssemblyInfoFiles which gets executed before any target (and hence before Get task). So, the items in AssemblyInfoFiles may be outdated. The right approach is to use CreateItem task inside AfterGet target. Neil Enns…