Unrecognized argument 'True'. All arguments must begin with "-" (msdeploy.exe)
Are you trying to deploy your application using msdeploy.exe with argument AllowUntrusted set to True and this error occur? Unrecognized argument ‘True’. All arguments must begin with “-”.
[08:57:58][Step 1/1] Executing: ../WebDeployPackage/ProjectName.deploy.cmd /Y /M:https://10.10.70.69:8172/MSDeploy.axd /U:srv_Teamcity -AllowUntrusted=True [08:57:59][Step 1/1] SetParameters from: [08:57:59][Step 1/1] "D:\BuildAgent\work\57910644296a4e40\WebDeployPackage\ProjectName.SetParameters.xml" [08:57:59][Step 1/1] You can change IIS Application Name, Physical path, connectionString [08:57:59][Step 1/1] or other deploy parameters in the above file. [08:57:59][Step 1/1] ------------------------------------------------------- [08:57:59][Step 1/1] Start executing msdeploy.
Read more