About

This is my personal blog where I like to blog about technology and other interesting stuff in life.

Today I spent some time trying to improve the speed of our CI/Nightly builds with TFS. While we found out that it was a backup solution that was causing the majority of our problems, I also found that we were not doing incremental builds. If you put this at the bottom of your TFSBuild.proj file, TFS will only do get of the files that have changed instead of getting all files. Doing this took a 10 minute build down to 20 seconds. Much Better!

1
2
3
4
5
6
7
</itemGroup>
   <propertyGroup>
      <skipClean>true</skipClean>
      <skipInitializeWorkspace>true</skipInitializeWorkspace>
      <forceGet>false</forceGet>
   </propertyGroup>
</project>

Leave a Reply