How to build Visual Studio Setup projects (.vdproj) with TFS 2010 Build ?

Posted by Vishal on Geeks with Blogs See other posts from Geeks with Blogs or by Vishal
Published on Tue, 11 Dec 2012 00:53:00 GMT Indexed on 2012/12/10 23:05 UTC
Read the original article Hit count: 306

Filed under:

Out of the box, Team Foundation Server 2010 Build does not support building of setup projects (.vdproj). Although, you can modify 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. Winking smile 

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/redir?resid=65B2671F6B93CDE9!310

  • Download and CheckIn this template into your source control. Modify your Build Definition to use this template. Unless you have CheckedIn the template, it wont show up in the template selection section in the process task of build definition.

image

  • In your Visual Studio Solution Configuration Manager, make sure you specify to build the setup project also.

image

  • You might get this warning in your build result: “The project file “*.vdproj” is not support by MSBuild and cannot be build.

Hope it helps.

Thanks,

Vishal Mody


Reference blog posts I had used:

© Geeks with Blogs or respective owner