Out of the box, Team Foundation Server 2010 Build does not support building of setup projects (.vdproj). Although, you can modify the DefaultTemplate.xaml or create your own in order to achieve this. I had to try bunch of different blog post's and finally got it working with a mixture of all those posts. Since you don’t have to go through this pain again, I have uploaded the Template which you can use right away : https://skydrive.live.com/r... Download and CheckIn this ......