Search code examples
tfstfsbuildtfs-2010

TFS 2010 custom build step


I am playing with TFS 2010, and am trying to setup a build process that will have some custom steps.

These include things like, stopping/starting IIS, search and replace files etc... across environments.

I have tried to look for examples online and have not found anything clear and meaningful on how to just run a script or something over the source files. Looking at the default build process template (DefaultTemplate.xml) I cant make much sense of it.

How do I go about doing this ?


Solution

  • For info on customising the TFS2010 workflow build templates have a look at Ewald Hoffman's series. Start with Part 1 (archived here).

    I should also mention that since it looks like you're doing deployment then you may want to break deployment automation away from build automation.