由于无法找到 Visual Studio 15.0 版,Visual Studio 2017 在线构建代理失败 [英] Visual Studio 2017 online build agent fails due to inability to find Visual Studio Version 15.0

查看:39
本文介绍了由于无法找到 Visual Studio 15.0 版,Visual Studio 2017 在线构建代理失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 VSTS 在线提供的 Visual Studio 2017 构建代理创建了一个 CI/CD 管道,但由于以下警告消息而失败:

I created a CI/CD pipeline by utilized Visual Studio 2017 build agent available on VSTS online but it fails due to the warning message below:

未找到 Visual Studio 版本 '15.0'.正在寻找最新版本.

"Visual Studio version '15.0' not found. Looking for the latest version.

所以,代理开始使用 VS 2015 的 14.0 版本.有解决此问题的解决方法吗?

So, the agent starts using version 14.0 which is VS 2015. Is there a workaround to address this?

推荐答案

现在有一个托管 2017 选项,可以构建 2017(Visual Studio 版本15.0")项目.

There is now a hosted 2017 option that are able to build the 2017 (Visual Studio version '15.0') projects.

改成这样,你就应该准备好了.

Change to that and you should be all set.

这篇关于由于无法找到 Visual Studio 15.0 版,Visual Studio 2017 在线构建代理失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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