ClickOnce Deployment in TeamCity

I have been trying to get a ClickOnce VSTO add-in publishing automatically during a build and do not want visual studio on my build server.

This blog post was very useful for getting the initial build working http://abdullin.com/journal/2009/2/17/building-vsto-solutions-without-visual-studio.html it also mentions how to fix the error MSB3147: Could not find required file ’setup.bin’ in ‘ProjectFolder\Engine’ error I was getting.

According to the post we just have to copy the Generic Bootstrapper across to our build machine and create a registry key to let .net know where to find it.

What all the resources (I have seen the same fix posted in a More >