I know of ClickOnce which creates an .exe file so a user can play my XNA game.

However, I have to manually go through a wizard in order to create this file.

I would like for the new .exe to be created upon a successful commit of the code to GIT (ie. all my tests pass and the build succeeds) and for this file to be deployed on my Amazon AWS server so users can instantly download the 'new version' each commit.

Is this possible? I've been taking a look at Jenkins which seems to do what I want (Automated builds) but seems as though it's only for JAVA software.

Thanks for any info :)

  • \$\begingroup\$ There is normally an .exe file in Debug/bin folder that works as a standalone version of your game as long as the user has .NET installed. \$\endgroup\$ Commented Jul 26, 2014 at 17:30
  • \$\begingroup\$ How would I go about moving this .exe to my server upon a successful GIT commit? Is it possible to do such a thing? :/ \$\endgroup\$
    – R-nold
    Commented Jul 26, 2014 at 18:40
  • \$\begingroup\$ Ive never done something like this myself, but I think your best bet would be to manually upload it every once in a while \$\endgroup\$ Commented Jul 26, 2014 at 18:42
  • \$\begingroup\$ Using the .exe in the Debug/bin folder doesn't work. If I move it from the directory it is in and try to run it it just doesn't start the program. \$\endgroup\$
    – R-nold
    Commented Jul 26, 2014 at 20:53
  • \$\begingroup\$ Make sure you copy all dlls in the bin/Debug folder along with the exe \$\endgroup\$ Commented Jul 26, 2014 at 20:56

1 Answer 1


You want a git post-commit or post-push hook to invoke your build chain automatically every-time those things happen.


(Or you could use Jenkins? Same thing, but more complex. Though you might like those features.)

Simply google "automated clickonce" to see that click once is not intended to be automated. You need another tool for that. msbuild, which is what visual studio uses internally, can build visual studio projects on the command line.




You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .