TFS Automated Builds to Code Packages

Posted by Adam Jenkin on Stack Overflow See other posts from Stack Overflow or by Adam Jenkin
Published on 2010-03-24T14:37:14Z Indexed on 2010/03/24 15:23 UTC
Read the original article Hit count: 226

Filed under:
|
|

I would like to hear the best practices or know how people perform the following task in TFS 2008.

I am intending on using TFS for building and storing web applications projects. Sometimes these projects can contain 100's of files (*.cs, *.acsx etc)

During the lifetime of the website, a small bug will get raised resulting in say a stylesheet change, and a change to default.aspx.cs for example.

On checking in these changes to TFS, and automated build would be triggered (great!), however for deploying the changes to the target production machine, I only need to deploy for example:

  • style.css
  • default.asx
  • MyWebApplications.dll

So my question is, can MSBuild be customized to generate a "code pack" of only the files which require deploying to the production server based on the changeset which cause the re-build?

© Stack Overflow or respective owner

Related posts about tfs

Related posts about msbuild