Clickonce:Clickonce Application can be created with Command line


ClickOnce deployment enables you to publish application. Visual Studio provides full support for publishing and updating applications deployed with ClickOnce technology.

ClickOnce application stores assembly information in Application manifest and application information inside Deployment manifest

We could create this by using Mage or MageUI tool

Can we create ClickOnce application without Visual studio ?

If we have windows SDK installed we could use Command line to create ClickOnce application, which is using MSBuild

Known Issue for creating ClickOnce through command line

=============================================

MSB3147: Could not find required file 'setup.bin' in 'C:\<Projectpath>\Engine\Setup.bin

-Please check the Windows SDK C:\Program files\Microsoft SDK\Windows\Vx.x(where x.x=5.0,6.0,6.0A,6.1)\Bootstrapper Folder

If you don't have this folder available, that means you could not create bootstrapper (Setup.exe) from your SDK

To overcome either we could manually Copy Bootstrapper\Engine folder from another machine where SDK has it.

Bootstrapper is nothing but wrapper which calls deployment manifest. We can run our application without that as well

Please check the MSDN For Full information on ClickOnce Command line and Properties


Skip to main content