This repo shows how to leverage Web Deploy to package and deploy console applications.
- Open the VS solution in the
srcfolder - Compile it
- Open a PowerShell prompt in the
scriptsfolder - Run
.\package-application.ps1 -SourceFolder ..\src\ConsoleApplication\bin\Debug -DestinationFileName console-application.zip. This will create aconsole-application.zippackage - Then execute
.\deploy-application.ps1 -PackageFilePath console-application.zip -DestinationFolderName deployed-console-application -ParametersValuesFilePath .\parameters-values.xml. This will deploy the application in thedeployed-console-applicationfolder using the parameters values in theparameters-values.xmlfile