My team recently encountered a problem during our build process where a left over intermediate file was not being properly deleted. Even worse, this was not reported so during the compilation very strange errors appeared regarding constructors and methods that weren't in version control.
The issue was eventually tracked down as an issue with some file paths exceeding the 248 character limit. Due to the excessively long file path, the delete failed. <insert gasface here /> Why this is an issue in 2013, well that will be a topic for another time. Instead, here is how to workaround the challenge.