Using AssemblyInfo task in Team Build

Hi

I've been using the AssemblyInfo task from SDC together with Team Build to update all dll's built by my TFSBuild.proj file. I've also changed the source code for this task slightly to output another property from the task which I want to use to give a number to my installers (very similar to assemblyversion but 3 digits instead of 4) that I also create as part of the Team Build process. Currently I have the assemblyinfo task's target file imported into my tfsbuild.proj file, but what I want to do is somehow pass it into all of my installer.csproj files (there is one for each solution I am building in Team Build). Any ideas appreciated?

[665 byte] By [simonburgess] at [2008-2-4]
# 1

Please refer my blog http://blogs.msdn.com/gautamg/archive/2006/04/19/578915.aspx.

Though the blog talks about building .NET 1.1, the actual implementation passes a property (in this case CustomAfterMicrosoftCommonTargets) to each project. You can use something similar.

Thanks.

GautamGoenka at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...

Visual Studio Team System

Site Classified