我有一些代码,尝试使用TFS API在某些工作项上设置一些标签:
foreach (KeyValuePair<string, WorkItem> kvp in dict)
{
kvp.Value.Tags = "test";
}
但是当我运行上面的代码时,我得到:
{"TF26194: The value for the field 'Tags' cannot be changed. "}
但是也许它们是只读的?
还是我需要升级服务器以使用2013更新2:http : //blogs.msdn.com/b/bharry/archive/2014/02/05/vs-tfs-2013-2-update-2-ctp-已发布.aspx
为了在API中编辑标签,您至少需要TFS 2013 Update 2。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句