We're using TeamCity's build feature File Content Replacer to replace the build version number in multiple AssemblyVersion.cs files, following TeamCity's documentation on Changing only the last version part / build number of the AssemblyVersion attribute:.
Our file list look like this:
CommonAssemblyInfo.cs
**\Properties\AssemblyInfo.cs
It works, but it sometimes takes up to 10 minutes before it even starts. This usually happens when the build haven't run for 24 hours or more, but sometimes on subsequently builds also.
Any ideas why this happens? We also have multiple projects with the exact same setup, where this never happens.