我试图用MSBuild的命令行发布我的web应用程序Azure的现有Web应用程序:发布的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与同一发布配置文件相同的应用程序它做工精细。你有什么想法吗?
谢谢