gpt4 book ai didi

c# - 删除 tfs 上自定义安装的构建任务

转载 作者:行者123 更新时间:2023-11-30 14:49:39 25 4
gpt4 key购买 nike

我在 TFS 上安装了几个自定义构建任务: enter image description here

我有相同任务的新版本,但无法更新: enter image description here

如何从 tfs 卸载自定义构建任务或如何使用新版本更新现有任务?

最佳答案

您说的是 TFS,所以我假设您使用的是 TFS2015 U2 或更高版本。它还假定您对 TFS API 实例使用基本身份验证。

如果您没有有基本身份验证,请查看this answer了解使用 Fiddler 的技巧。

您可以尝试使用 tfs-cli 删除任务并使用在 Build Tasks 下找到的命令页面。

注意:这需要您安装 node.js

这是它的样子:

tfx login --auth-type basic
TFS Cross Platform Command Line Interface v0.3.9
Copyright Microsoft Corporation
>Service URL: https://tfs:8080/
>Username: DOMAIN\USER
>Password:

tfx build tasks delete --task-id [guid from error message]

关于c# - 删除 tfs 上自定义安装的构建任务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38416501/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com