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 lot of places) fail to mention is the registry key that you need to modify if you are running a x64 system is HKEYLOCALMACHINE\SOFTWARE\Wow6432Node\Microsoft\GenericBootstrapper\3.5.

This Wow6432Node key has got me a few times before…

.net clickonce teamcity
Posted by: Jake Ginnivan
Last revised: 19 Feb, 2011 05:15 AM

Comments

No comments yet. Be the first!

Your Comments

Used for your gravatar. Not required. Will not be public.
Posting code? Indent it by four spaces to make it look nice. Learn more about Markdown.

Preview