MSDeployAllTheThings icon indicating copy to clipboard operation
MSDeployAllTheThings copied to clipboard

AdditionalArguments - improvement for multiline value

Open jirikanda opened this issue 6 years ago • 0 comments

The UI for setting Additional Arguments allows us to enter multiline values. It is good, it allows to write parameters in well-arranged form. Unfortunatelly, only first line is used as additinal arguments when running webdeploy.exe

Value: -setParam:name="IIS Web Application Name",value="xyx.havit.cz" -setParamFile:"$(System.DefaultWorkingDirectory)/xyz/drop/Web/xyz.Preview.SetParameters.xml"

Log: 2018-09-12T07:57:23.1911001Z AdditionalArguments= -setParam:name="IIS Web Application Name",value="xyx.havit.cz" 2018-09-12T07:57:23.1911358Z -setParamFile:"D:\DeploymentAgent1\r3\a/xyz/drop/Web/xyz.Preview.SetParameters.xml" ... 2018-09-12T07:57:23.2215281Z "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='D:\DeploymentAgent1\r3\a\xyz\drop\Web\Web.zip' -dest:auto,computerName='https://preview.havit.local:8172/MsDeploy.axd?site=xyz.havit.cz',userName='',password='',authType='ntlm',includeAcls='False' -allowUntrusted -setParam:name="IIS Web Application Name",value="xyz.havit.cz" 2018-09-12T07:57:23.2215833Z -setParamFile:"D:\DeploymentAgent1\r3\a/xyz/drop/Web/xyz.Preview.SetParameters.xml"

In this case, xyz.SetParameters.xml was not used.

Thank you for excelent plugin!

jirikanda avatar Sep 12 '18 08:09 jirikanda