I\'m setting up TeamCity (migrating from CruiseControl.NET) and I\'m struggling to get it to perform incremental builds through MSBuild.
I\'ve got a small .proj file whi
This issue is still present in TeamCity 2017.3.
I wanted to find an easier to track work-around for this than the one detailed by the accepted answer so I did the following:
.NETFramework,Version=v4.7.AssemblyAttributes.cs
file to my VCScopy "%system.teamcity.build.workingDir%\\." "%env.TEMP%\."
This will copy my version of the AssemblyAttributes file with the timestamp from the initial VCS checkout the first time,
Subsequently MSBuild seems to think it is the same file since the timestamp will remain consistent and will now properly perform incremental builds, which may be verified from the build log on the agent.