C# – way to specify the application icon for a ClickOnce application manifest using Mage/MageUI

cclickonceicons

I need a way to specify an application icon for a ClickOnce deployment. Basically this will be the icon shown for the application shortcut in the Start Menu – Program Files, also during the installation of the application.
I can do this from the Visual Studio IDE (by specifying the application icon in the application tab of the project properties).

But I can not figure out a way to do this using Mage/MageUI. Is there way to do this using Mage/MageUI?

Best Answer

At the command line, from here - e.g.

mage -New Application -ToFile MyApplication.exe.manifest -Name "My Application" -Version 1.0.0.0 -FromDirectory bin -IconFile ApplicationIcon.ico

In MageUI, from here - set the icon's File Type to Icon File on the Files list.