本文介绍了TFS 2015扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经创建了几个自定义构建步骤,我想将其作为扩展加载到TFS 2015中我正在使用

创建扩展,它创建一个VSIX。当我上传扩展时,我得到一个XML解析错误。哪个
告诉我TFS正在寻找XML文件而不是json文件。 我还尝试使用PUT直接API调用distributedtask / tasks / [id],但是收到404(GET在distributedtask / tasks中成功)。



有关如何为本地安装的TFS 2015创建扩展的任何建议?文档似乎不稳定。



谢谢!


解决方案

Hi,

I have created a couple of custom build steps that I would like to load as extensions into TFS 2015. I am usinghttps://github.com/Microsoft/tfs-cli andhttps://www.visualstudio.com/en-us/integrate/extensions/overview to create the extension and it creates a VSIX. When I upload the extension I get however an XML parsing error. Which suggests to me that TFS is looking for a XML file rather than a json file.  I also tried a direct API call to distributedtask/tasks/[id] with a PUT , but receive a 404 (a GET does succeed at distributedtask/tasks ).

Any suggestions on how to create an extension for a local install of TFS 2015? Documentation seems to be spotty.

Thanks!

解决方案


这篇关于TFS 2015扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 07:49