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

VSTS hosted build fails after upgrading to VS2017

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

构建定义如下所示:

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

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

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

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

是不是因为hosted build agent还没有更新?我该怎么办?什么时候?

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

announcement.However10多天了,页面顶部有注释

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

您的租户可能会在近期更新。

作为 ,您需要更新您的构建以使用 Hosted VS2017 队列,方法是编辑定义并在“选项”选项卡上适当地设置它。