title: How to do a ClickOnce publish programmatically?
body: <p>I need to pulbish ClickOnce application using C# code (using Microsoft.Build).
  I've searched quite a long time without finding good know-how of the procedure.</p>
  
  <p>Using MAGE.EXE or publishing it from Visual Studio is not an option.</p>
  
  <p>Since the documentation on Microsoft.Build is quite poor and there are no real examples, I'm really guessing on how the procedure will look like.</p>