-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
5.7.2
-
None
-
4
-
Severity 3 - Minor
-
Steps to reproduce
- Add msdeploy.exe as an executable
- Add command task that use msdeploy and use -setParam:name="Foo Bar name",value=FooBarValue as argument in the command task
- Run plan
Observation
The following error is thrown
Error: Unrecognized argument '"-setParam:name="Foo'. All arguments must begin with "-".
Workarounds
Either:
a) Use parameters without any space to avoid the use of quotes as it's not interpreted correctly.
b) Use a script task instead of the command task
c) Create a script file that encapsulates the targeted command and arguments.