【问题标题】:Azure devops - Error : The value for PublishProfile is set to 'FileSystem'Azure devops - 错误:PublishProfile 的值设置为“文件系统”
【发布时间】:2019-10-01 08:22:03
【问题描述】:

我的 azure devops 构建开始失败,没有任何代码或构建更改。

VisualStudio 构建步骤中抛出以下错误

Error : The value for PublishProfile is set to 'FileSystem', expected to find the file at '...\FileSystem.pubxml' but it could not be found.

【问题讨论】:

    标签: msbuild azure-devops visual-studio-2019


    【解决方案1】:

    原来这是一个错误。

    https://developercommunity.visualstudio.com/content/problem/754048/error-the-value-for-publishprofile-is-set-to-files.html

    https://github.com/microsoft/azure-pipelines-image-generation/issues/1276

    我现在可以通过将我的构建主机映像从 windows-2019 更改为 vs2017-win2016 来解决这个问题

    所以在我的 yaml 中

    pool:
      vmImage: 'vs2017-win2016' #instead of window-2019
    

    【讨论】:

    • 太棒了!感谢您在此处分享您的解决方案,您可以接受它作为答案,这样它可以帮助遇到相同问题的其他社区成员,我们可以归档这个帖子,谢谢。
    猜你喜欢
    • 2015-12-27
    • 1970-01-01
    • 2020-05-03
    • 1970-01-01
    • 1970-01-01
    • 2011-05-30
    • 1970-01-01
    • 2021-03-25
    • 1970-01-01
    相关资源
    最近更新 更多