天蓝色应用程序服务的构建日志在哪里?

时间:2019-11-26 05:44:02

标签: azure logging build azure-devops azure-web-sites

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.

现在,我知道如果此错误消息来自Visual Studio,该怎么办:Found conflicts between different versions of the same dependent assembly that could not be resolved

问题是此错误消息来自钻入我的Azure Web应用程序的部署中心中的“日志”(通过单击“正在运行的部署命令...”旁边的“显示日志...”)找出试图为Azure应用程序服务列出这些引用冲突的位置,尽管尝试打开尽可能多的日志记录并寻找解决此问题的方法。

有人可以告诉我要去哪里看看这些冲突在Azure应用程序服务中列出的地方吗?构建日志在哪里?如何将其“打开”?

编辑:我刚刚找到了这个:What is the default location for MSBuild logs?。我不知道它是否适用于Azure。

更新

每当我进行新的代码更改时,代码就会不断从我的Azure DevOps存储库中提取到我的Azure应用程序中。它在服务器上的某个地方构建(包括编译)。我只是认为没有任何方法可以实际查看构建日志。在Visual Studio中,我们只有输出窗口,服务器上没有等效窗口。

1 个答案:

答案 0 :(得分:1)

更新

在Azure上查看日志之前,请注意azure-web-sites不提供编译功能,因此与编译相关的警告和错误不会显示在日志中。 Azure的日志功能用于跟踪运行时警告或运行时错误,而不是编译时。


自从您已部署到Azure之后,请查看以下内容:

日志流:

enter image description here

根据您的描述,您需要更改与其他组件不匹配的组件。

如果您仍然无法解决此问题,请在此问题文本中添加错误和您在应用服务中使用的程序集。