Command line MSDeploy未授权错误
我使用命令行调用msdeploy,将web部署包(zip)部署到运行命令的同一台机器上 以下是命令行:Command line MSDeploy未授权错误,command-line,msdeploy,webdeploy,unauthorized,Command Line,Msdeploy,Webdeploy,Unauthorized,我使用命令行调用msdeploy,将web部署包(zip)部署到运行命令的同一台机器上 以下是命令行: msdeploy.exe -verb:sync -source:package="<pathToZip>" -dest:auto,computerName="<hostName>",includeAcls="False",authType=Basic,userName="<myUserName>",password="<myPassword>"
msdeploy.exe -verb:sync -source:package="<pathToZip>" -dest:auto,computerName="<hostName>",includeAcls="False",authType=Basic,userName="<myUserName>",password="<myPassword>" -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:"<pathToSetParametersXml>" -allowUntrusted -preSync:runCommand="<pathToPreDeployCmd",waitattempts=10,waitinterval=30000 -postSync:runCommand="<pathToPostDeployCmd>",waitattempts=5,waitinterval=30000
msdeploy.exe-动词:sync-source:package=“”-dest:auto,computerName=“”,includeAcls=“False”,authType=Basic,userName=“”,password=“”-disableLink:AppPoolExtension-disableLink:ContentExtension-disableLink:certificateeextension-setParamFile:“-allowUntrusted-preSync:runCommand=“尝试将目标设置为”本地主机”