Teamcity: automatic VCS checkout/update
To let Teamcity do a checkout/update before building the project it is necessary to set VCS checkout mode option to "Automatically on agent".
You can find this option in the project's Build Configuration -> Version Control Settings page.