tfs - 升级到 VS2017 后 VSTS 托管构建失败

标签 tfs asp.net-core azure-devops visual-studio-2017 azure-pipelines

我已经将最初在 VS2015 中创建的 asp.net 核心项目 (project.json) 升级为 VS2017 MSBuild 项目格式 (.csproj)。

构建定义如下所示:

build definition

RestoreBuildTest 构建步骤以以下警告结束:

Project file(s) matching the specified pattern were not found.

Publish 构建步骤以以下错误结束:

MyProject.csproj' does not contain a project.json file

是因为托管构建代理还没有更新吗?我该怎么办?什么时候?

最佳答案

latest update提到 .NET Core 任务已更新为支持 .csproj 项目系统以及 project.json

公告已经10多天了,但是页面顶部有提示

Note: The features discussed in this post will be rolling out over the next three weeks.

您的租户可能会在不久的将来更新。

关于tfs - 升级到 VS2017 后 VSTS 托管构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42842656/

相关文章:

azure - 如何将 Azure DevOps 项目移动到另一个具有所有历史记录的组织?

c# - EF Core - 自引用实体

ASP.NET 5 MVC 6 中的本地化

tfs - 如何确定代理池在 Azure dev-ops 中脱机的原因

git - 我可以在克隆之前在 Visual Studio 2013 中为 TFS Git VC 查看 Git 提交历史记录吗?

c# - EF Core 3.1 调用 context.Add() 在使用 SQL 中的序列的模型上抛出 "nullable object must have a value"

asp.net-core - 使用 ASP.NET Core 设置 azure-pipelines.yml "No web project was found in the repository"

azure - 将部署回滚到 DevOps "Environment"

c# - Microsoft.VisualStudio.TeamFoundation 引用在哪里?

unit-testing - 在 Team Foundation Server (TFS) 版本上运行单元测试