创建自定义 TFS 任务时文件丢失

Files missing during creation of custom TFS task

只有 task.json 文件在执行 "tfx build tasks create" 命令时创建,缺少 .js .ps1 和 .png 文件。是否有任何示例脚本可以遵循以创建自定义 tfs 构建任务。

我可以使用 tfx-cli 0.3.30 重现您的问题(0.3.24 可以毫无问题地创建任务),下面的网站上已经有相同的问题报告:

https://github.com/Microsoft/tfs-cli/issues/151

正如@bryanmacfarlane 提到的,他将在下一步更新 tfx:

Don't use that right now. Use this: https://github.com/Microsoft/vsts-task-lib/blob/master/node/docs/stepbystep.md

Since I finished the step by step, next step is to update tfx