How can I automate the web-application build process, that includes following steps:
- Change connection string.
- Recreate database by scripts.
- Deploy web-site by ftp.
- Copy some files to server in addition to application.
- And may be perform some initialize operations.
Should I write any script/programm, use Visual Studio or any another program?
Personally I use a Continuous Integration tool to do this kind of work.
The one I mainly use is Team City by JetBrains.
This kind of software can look at your Source Control repo for new checking, perform builds, publish builds to servers as well as running pre/post build events.