Publish web project on the IIS Automatically
Hi
I want to see how can I publish my web application on IIS automatically after a build succeed on Teamcity.(Is it possible with TC?)
I recentely begin use of TC i don't anything of this software.
plz help me!!
Please sign in to leave a comment.
You could do this with a NAnt build script which is external to TeamCity but can be ran by TeamCity of course.
Do you have a sample that do this?
and how can TC help me in this case?
The script is dependent on what tasks you need done. NAnt can do alot of things so I suggest you give it a look through at http://nant.sourceforge.net/
Once you understand it then you just tell TeamCity to use NAnt in the runner. Below is an example of building a nant script but I highly suggest you read the nant docs too.
http://pwigle.wordpress.com/2008/11/21/deploying-aspnet-web-applications-using-nant/