我試圖用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與同一發佈配置文件相同的應用程序它做工精細。你有什麼想法嗎?
謝謝