How to create a Web Deploy package when publishing a ClickOnce project
The other day I saw a question on StackOverflow (link in resources below) asking How you can create a Web Deploy (AKA MSDeploy) package when publishing a ClickOnce project. The easiest way to do this is to use the Web Deploy command line utility, msdeploy.exe. With the command line you can easily create an MSDeploy package from a folder with a command like the following: -verb:sync -source:contentPath="C:Temp_NETWebPackageWithClickOnceWebPackageWithClickOncebinDebugapp.publish" -dest:package="C:Temp_NETWebPackageWithClickOnceWebPackageWithClickOncebinDebugco-pkg.zip" Here you can see that I’m using the sync verb, along with a contentPath provider ( which points to a folder ) as the source and the destination is using the package provider, this point to where I want the package to be stored
View original post here:
How to create a Web Deploy package when publishing a ClickOnce project


