【发布时间】:2017-06-20 13:35:39
【问题描述】:
我正在尝试从命令行使用 MSBuild 将我的 Web 应用程序发布到 Azure 现有 Web 应用程序:
.\MSBuild.exe $solutionPath /T:$project /T:Rebuild /p:DeployOnBuild=true /p:WebPublishMethod=MSDeploy /p:PublishProfile=$publishProfilePath /p:password=$password /p:VisualStudioVersion=14.0 /p:AllowUntrustedCertificate=true
我收到以下错误:
msdeploy error ERROR_COULD_NOT_CONNECT_TO_REMOTESVC: Web deployment task fail
ed. (Could not connect to the remote computer ("appName.scm.azurewebsites.net") using the specified process ("Web Management Service") because the server did not respond.
但是,当我从 Visual Studio 15 部署具有相同发布配置文件的相同应用程序时,它可以正常工作。你知道出了什么问题吗?
谢谢
【问题讨论】: