Been using TeamCity for a few months now but I feel like we're not using it exactly correctly.
We have a .NET project which is pulled from Git to a working directory. It's built using the TeamCity Visual Studio compiler and then all the files are copied using xcopy to the webserver root.
I think it's that last part that isn't right. The main issue we run into is it never deletes files that have been deleted from source control. I can't clean the webserver root either because then we'd lose things like binaries which aren't part of the source control.
I'm sure I'm missing some fundamentals here -- anyone able to enlighten me?