Automatic Website Deployment with TFS

Published 09 June 06 03:27 PM | russnem

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?

Filed under: ,

Comments

# Ravi said on August 22, 2007 06:28 AM:

did u get any solution for this. If yes, can u pls share it with me as I am also looking for exactly the same functionality. my email id is ravi.satna@gmail.com

# StephenLacy said on September 22, 2009 08:02 AM:

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:

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

That deploys to a website on that server.

Leave a Comment

(required) 
(required) 
(optional)
(required)