Resolution
To fix this issue:
- Remove the backslash from the /deploydir argument:
Cloudhouse.Container.Deployment.exe /deploydir "C:\programdata\containerocto" /deploytype machine
- Escape the last backslash in the /deploydir argument
Cloudhouse.Container.Deployment.exe /deploydir "C:\programdata\containerocto\\" /deploytype machine
Symptoms
An Application Deployment fails with a parse error. For example:
Failed to parse command line arguments: Option '/deploydir' parse error: could not parse '<Deployment Path>" /deploytype machine' to 'System.String'.
Cause
Check if the value of /deploydir argument ends with "\"
Cloudhouse.Container.Deployment.exe /deploydir "C:\programdata\containerocto\" /deploytype machine
This is by design as Windows treats a backslash '\' before the last quote " (in the above example) as an escape character.