Automatic Website Deployment with TFS

As I mentioned in an earlier post, I am loving TFS. One of my most recent ventures has to do with scheduled build and continuous integration. I've gotten the project to build nightly based on a schedule (and would love some more info on the steps to set up CI) but the problem I'm running in to is that I can't figure out how to tell Team Build to deploy a particular web site within the project after the build as successfully completed.

The project has 10 class libraries, 2 web sites, 2 command line apps, and one Windows service. I only want to deploy ONE of the web sites to a specific folder on the server that people can browse to and always have the latest build of the site.

Can anyone offer any assistance?

2 Comments

  • I recommend first of all that you use web deployment projects, a quick google will show you how. Then you need to use SDC Tasks, again a quick google.

    Now you can let the web deployment project create a website itself which I find buggy or you could do what I describe in this blog post:

    http://www.lacy.ie/web-deployment-project-iis-deploy-error-on-team-foundation-server/

    That deploys to a website on that server.

  • Keep on working, great job!

Comments have been disabled for this content.