升级到VS2017后VSTS托管的构建失败 [英] VSTS hosted build fails after upgrading to VS2017
问题描述
我已经将最初在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).
内部定义如下:
Restore
,Build
和Test
的构建步骤以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屋!