MVC6应用程序VSO构建和部署到Azure失败

时间:2017-02-17 17:37:38

标签: asp.net-core-mvc azure-devops azure-web-sites

我无法从Visual Studio在线部署我的第一个MVC6应用程序到Azure。我创建了一个构建定义,用于创建部署包和“Azure应用程序服务部署”任务以部署该程序包。部署任务报告此错误:

Failed to deploy App Service.
Error: (2/17/2017 9:09:59 AM) An error occurred when the request was processed on the remote computer.
Error: Source (sitemanifest) and destination (contentPath) are not compatible for the given operation.
Error count: 1.
Successfully updated deployment History at https://xxx.scm.azurewebsites.net/deployments/5121487351399775
Error: C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295

我可以在Visual Studio中构建一个部署包。我使用相同的技术成功构建和部署了一些MVC5应用程序。我从来没有遇到过问题,所以我不知道从哪里开始搞清楚这一点。有什么想法吗?

谢谢!

0 个答案:

没有答案