In our setup, TeamCity builds a Visual Studio solution, checked out by a SVN VCS root. The build process leaves some generated content in the working copy that TeamCity checked out (.dll's transformed .config files and such), and this is causing trouble.
My solution to the problem is to enable "Clean all files before build" under checkout settings. This is not optimal, as i slows down the build process significantly.
I've come across an option in the VCS root to "Revert before update", but the documentation clearly states, that this will only revert tracked files.
Is there a way that I can have TeamCity delete all untracked files from the working copy, as part of the checkout process, before building the solution?