Application deployment fails with a parse error

15/08/2017 Stuart Moore   ID: 267116


Application Deployment fails with a parse error. E.g. Failed to parse command line arguments: Option '/deploydir' parse error: could not parse '<Deployment Path>" /deploytype machine' to 'System.String'.


Check if the value of /deploydir argument ends with "\"  

Cloudhouse.Container.Deployment.exe /deploydir "C:\programdata\containerocto\" /deploytype machine


It is by design. Windows treats backslash '\' before the last quote " (in the above example) as an escape character.


  1. Remove the backslash from the /deploydir argument.
    Cloudhouse.Container.Deployment.exe /deploydir "C:\programdata\containerocto" /deploytype machine

  2.  Escape the last backslash in the /deploydir argument
    Cloudhouse.Container.Deployment.exe /deploydir "C:\programdata\containerocto\\" /deploytype machine
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support