Reputation: 13516
I am tring to add .Net builds to our build server which is based on Hudson. Out approach so far (for Java-based web apps) has been a two stage process as follows:
I would like to set up something similar for some .Net applications I'm developing. The applications will be distributed either as ClickOnce or as install packages.
Initially, I setup 2 Hudson jobs to build and then deploy as a ClickOnce app. The problem here is that I have to define the ClickOnce server already in the build job where I really want to perform a neutral build and decide later where I want to deploy to.
So I tried using a Setup project until I read that it is not possible to build such projects from the command line.
Next, I tried using InstallShield Limited Edition 2010 but it seems I'll have to get a licence to be able to run it on the server outside of VS2010.
What has been your experience? How have you set up a CI build for executable (non-web) .Net applications?
Upvotes: 0
Views: 336
Reputation: 1981
From the setup / installer side one solution is to have a look at using the WiX toolset. Because WiX solutions are Visual Studio solutions they can be build using MsBuild and there is no need to install Visual Studio or something similar on the build machine.
One thing to note is that WiX has a pretty steep learning curve (there is an awesome tutorial available though), but most of the complexity seems to be due to the underlying complexity of Windows Installer, not so much because of the WiX toolset. I found that it took me a while to get going with WiX but once I got it working I understood why it was working and what the potential problems could be.
Upvotes: 1