Azure部署失败:发现冲突

时间:2015-10-25 15:28:19

标签: azure deployment

我在向Azure部署网络应用时遇到问题,我不确定如何最好地对其进行故障排除。

我正在从bitbucket存储库进行部署,但它失败并显示以下消息:

Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling .NET Web Application deployment.
All packages listed in packages.config are already installed.
D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5):

warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.

本地构建工作正常,我已经尝试清除包和bin文件夹,但我仍然收到此消息。

我看起来似乎没有办法打开详细(或诊断)部署日志记录模式,因此我无法发现导致问题的库。

有没有人来过这个?有没有人有任何想法如何最好地解决它?

2 个答案:

答案 0 :(得分:0)

您是否尝试过全面(重新)部署? 如果要从Visual Studio发布Web应用程序,可以选择以下选项:
设置→高级设置→部署更新...→[]如果无法更新部署,请执行完整部署。

答案 1 :(得分:0)

事实证明我正在构建我的应用程序以定位.NET 4.5.1而不是4.6 - 改变这似乎已经成功了!