How to increment the Assembly version on each build in TeamCity using Build Runner Type Visual Studio Sln File?
TeamCity 6.0 allows to create multiple build steps for your build configuration. So, with a first build step you can run some script which increases Assembly version (you can obtain it from current build number as build.number system property). The second build step will run real sln runner.