Command line Msdeploy';computerName';不被识别为内部或外部命令

Command line Msdeploy';computerName';不被识别为内部或外部命令,command-line,teamcity,msdeploy,Command Line,Teamcity,Msdeploy,学习团队城市。按照 写了这样的命令: "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package="C:\ProgramData\JetBrains\TeamCity\artifacts\webdeploy\Development\<target environment>\TestWebApplication.zip" -dest:auto, computerN

学习团队城市。按照 写了这样的命令:

"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe"
    -source:package="C:\ProgramData\JetBrains\TeamCity\artifacts\webdeploy\Development\<target environment>\TestWebApplication.zip"
    -dest:auto,
        computerName="https://<windows azure web site web publish URL>:443/msdeploy.axd?site=<windows azure web site name>",
        userName="<deployment user name>",
        password="<deployment password>",
        authtype="Basic",
        includeAcls="False"
    -verb:sync
    -disableLink:AppPoolExtension 
    -disableLink:ContentExtension 
    -disableLink:CertificateExtension

我做错了什么?

命令行实际上应该是一行命令:

"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package="C:\ProgramData\JetBrains\TeamCity\artifacts\webdeploy\Development\<target environment>\TestWebApplication.zip" -dest:auto, computerName="https://<windows azure web site web publish URL>:443/msdeploy.axd?site=<windows azure web site name>", userName="<deployment user name>", password="<deployment password>", authtype="Basic", includeAcls="False" -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension
老实说,如果使用的路径包含空格,我不确定是否正确引用
-source:
参数目标:

关于使用
单引号(撇号):


它可以工作,但仍然给出错误:无法识别的参数“computerName=”https://:443/msdeploy.axd?site=“,”。所有参数必须以“-”开头。问题出现在昏迷后的空格中。
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package="C:\ProgramData\JetBrains\TeamCity\artifacts\webdeploy\Development\<target environment>\TestWebApplication.zip" -dest:auto, computerName="https://<windows azure web site web publish URL>:443/msdeploy.axd?site=<windows azure web site name>", userName="<deployment user name>", password="<deployment password>", authtype="Basic", includeAcls="False" -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" ^
      -source:package='artifacts\WebDeploy\<target environment>\AcmeCompany.Portal.zip' ^
    -dest:auto, ^
        computerName="https://<windows azure web site web publish URL>:443/msdeploy.axd?site=<windows azure web site name>", ^
        userName="<deployment user name>", ^
        password="<deployment password>", ^
        authtype="Basic", ^
        includeAcls="False" ^
    -verb:sync ^
    -disableLink:AppPoolExtension ^
    -disableLink:ContentExtension ^
    -disableLink:CertificateExtension ^
    -setParamFile:"msdeploy\parameters\<target environment>\AcmeCompany.Portal.SetParameters.xml"
-source:"package='artifacts\WebDeploy\real target environment\AcmeCompany.Portal.zip'"
-source:"package=artifacts\WebDeploy\real target environment\AcmeCompany.Portal.zip"
-source:package="artifacts\WebDeploy\real target environment\AcmeCompany.Portal.zip"