I found this series of posts about customising Team Build 2010 from Ewald Hofman:
Now I am beginning to understand how the new style Team Build works - thanks Ewald.
I have a very clear idea of what I want to achieve with my Customised Builds:
- Produce output that is targeted at multiple Environments (e.g. Function Test, Live etc)
- This will mean using a Build Configuration file containing the configuration values required for each Target Environment. I already have this kind of file that I used under Team Build 2008: each Environment Section contains one or more Project Sections, and each of these contain replacement configuration settings for one or more project config files (i.e. App.config, web.config, etc).
- Each Build definition will select the Target Environment(s) and Project(s) relevant to that Build.
- For each Environment, Custom Activities will:
- Read the settings from the Build Configuration file mentioned above,
- Amend the relevant project configuration file with the required settings,
- Compile the project (or Publish, is it's for a ClickOnce Deployment),
- Replace the amended project configuration file with the latest version (so the next Environment has a 'virgin' version).
- Give each Environment/Project combination a version number
May 19 2010, 08:23 PM
A Note for Comment Spammers
Now, I realise that those of you who use blog comments such as these to
spread your worthless spam are not the cleverest people on the face of the planet.
So, I thought I'd make it clear that you're wasting your time posting your pointless
garbage here. Quite simply, it will never be published. Thankfully, unlike yourselves,
I'm blessed with an inherent ability to identify irrelevant content and it's every bit
as easy for me to toss your contribution into the virtual waste bin as it is to publish it.
So, guess what? Unless your comments are relevant (and I mean, really relevant, not
some thinly veiled attempt to get me to link to your site) they're never going to appear
on here. So, they're never go to appear in a search engine, never going to boost your
customer's Google page rank and never going to achieve anything in terms of Search
Engine Optimisation. Please, practice being a parasite elsewhere. Oh, and I'm confident
that my genuine readers are perfectly well endowed and enjoy a full and healthy lifestyle
without help from you. Thanks for reading.