msbuild - Azure DevOps - 错误 : The value for PublishProfile is set to 'FileSystem'

标签 msbuild azure-devops visual-studio-2019

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

VisualStudio 构建步骤中引发以下错误

错误:PublishProfile 的值设置为“FileSystem”,预计会在“...\FileSystem.pubxml”处找到该文件,但找不到。

最佳答案

事实证明这是一个错误。

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

关于msbuild - Azure DevOps - 错误 : The value for PublishProfile is set to 'FileSystem' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58180748/

相关文章:

xpath - 更新 Xml 文件 (vsixmanifest)

tfs - 将 TeamCity 连接到 Visual Studio Online

azure-devops - 为什么 GitVersion 在合并拉取请求以开发时会增加我的主要版本号?

SSAS 表格模型 - 将列添加到现有表

visual-studio-2012 - 使用MS Build的IIS WebDeploy失败,错误为MSB4044 -ConcatFullServiceUrlWithSiteName任务

msbuild - 使用 MSBuild 和 TeamCity 进行部署时出现问题

Azure 数据工厂全局参数不适用于新的部署方法

.NET Framework 4.7.2 中的 C# 8 功能

c - 如何在 Visual Studio 2019 中创建 C 项目?

c++ - 为 C 和 C++ 安装 MessagePack 实现时出现链接器错误