升级到VS2017后VSTS托管的构建失败 [英] VSTS hosted build fails after upgrading to VS2017

查看:85
本文介绍了升级到VS2017后VSTS托管的构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I've upgraded asp.net core project (project.json) originally created in VS2015 to VS2017 MSBuild project format (.csproj).

内部定义如下:

RestoreBuildTest的构建步骤以follwong警告结束:

Restore, Build and Test build steps end up with follwong warning:

找不到与指定模式匹配的项目文件.

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

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

Publish build step ends with following error:

MyProject.csproj'不包含project.json文件

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

是因为托管的构建代理尚未更新?我该怎么办?什么时候?

Is it because the hosted build agent was not updated yet? What can I do about it? When will it be?

推荐答案

The latest update mentions that .NET Core tasks have been updated to support .csproj project system as well as project.json.

自宣布以来已经超过10天了,但是,页面顶部有一个注释

It's been more than 10 days since the announcement.However, there's a note at the top of the page

注意:本文中讨论的功能将在未来三周内推出.

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

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

Your tenant might be updated in the near future.

这篇关于升级到VS2017后VSTS托管的构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆