TFS 2015扩展 [英] TFS 2015 Extensions

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

问题描述



我已经创建了几个自定义构建步骤,我想将其作为扩展加载到TFS 2015中我正在使用
https://github.com/Microsoft/tfs-cli
https://www.visualstudio.com/en-us/integrate/extensions/overview 创建扩展,它创建一个VSIX。当我上传扩展时,我得到一个XML解析错误。哪个
告诉我TFS正在寻找XML文件而不是json文件。 我还尝试使用PUT直接API调用distributedtask / tasks / [id],但是收到404(GET在distributedtask / tasks中成功)。



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



谢谢!


解决方案

Hi mrent,


如何将扩展上传到TFS?你是否在管理控制面板中安装? (扩展名:[TFS网址] _admin / _extensions)


如果是这样,据我所知,我们需要选择一个名为manifest.xml的XML清单文件。


有一个关于TWA中自定义控件的博客可能对您有益:


工作项自定义TF Web Access中的控件开发


  HTTP:// blogs.msdn.com/b/serkani/archive/2012/06/22/work-item-custom-control-development-in-tf-web-access-2012-deployment.aspx


问候


Starain


Hi,

I have created a couple of custom build steps that I would like to load as extensions into TFS 2015. I am using https://github.com/Microsoft/tfs-cli and https://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!

解决方案

Hi mrent,

How do you upload the extension to the TFS? Do you install in in the admin control panel? (Extensions:[TFS URL]_admin/_extensions)

If so, as far as I know, we need to select a XML manifest file with the name manifest.xml.

There is a blog about custom control in TWA that may benefit you:

# Work Item Custom Control Development in TF Web Access

 http://blogs.msdn.com/b/serkani/archive/2012/06/22/work-item-custom-control-development-in-tf-web-access-2012-deployment.aspx

Regards

Starain


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

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