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.
Using MAGE.EXE or publishing it from Visual Studio is not an option.
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.