TFS 2015 不会上传自定义流程模板 [英] TFS 2015 won't upload custom process template

查看:18
本文介绍了TFS 2015 不会上传自定义流程模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有自 TFS 2013 以来一直在使用的敏捷模板的定制版本.我已经升级了 2015 的模板,这没什么大不了的.但是当我去上传它时,我收到错误VS402479:你不能覆盖敏捷流程模板,因为它被锁定了".<​​/p>

我已按照 MSDN 上传更新的流程模板.我已经按照文档中的描述更改了名称、描述和次要版本字符串.

以下是我的 ProcessTemplate.xml 文件中元数据节点的值:

自定义敏捷<description>基于 MSF Agile 的自定义模板</description><version type="ADCC42AB-9882-485E-A3ED-7678F01F66BC" Major="14" minor="20"/>

我尝试将主要版本和次要版本更改为不同的、更高的增量,并收到相同的错误.

如果我将类型更改为不同的 Guid,模板加载就好了.这些说明暗示 Guid 应该是相同的.我假设这是为了让 TFS 知道它们所基于的内置模板和自定义模板之间的关系.

我有一堆团队项目要在升级完成后更新功能,如果我能帮忙,我不想破坏与内置敏捷流程模板的关系.

解决方案

您无法再编辑或删除 TFS 2015 中的内置模板,因此如果您要上传模板,则必须更改 Guid.

流程模板更改为 TFS 2015 RTM

<块引用>

在 TFS 2015 中,系统模板被锁定且无法更改.这一更改使我们能够覆盖我们提供的模板,从而能够将模板重命名为 Scrum、Agile 和 CMMI.

要根据提供的模板创建自定义流程模板,只需导出现有模板,为其指定新名称和版本,然后使用流程模板管理器重新导入即可.现有项目不受此更改的影响,这意味着它们可以继续使用 witadmin 自定义流程.

We have a customized version of the Agile template that we've been using since TFS 2013. I have upgraded the template for 2015, which was no big deal. But when I go to upload it I get error "VS402479: You can't overwrite the Agile process template, because it's locked".

I have followed the instructions from MSDN to upload an updated process template. I have changed the name, description, and minor version strings as described in the documentation.

Here are the values from the metadata node in my ProcessTemplate.xml file:

<name>Custom Agile</name>
<description>Custom Template based on MSF Agile</description>
<version type="ADCC42AB-9882-485E-A3ED-7678F01F66BC" major="14" minor="20" />

I have tried changing the major version and the minor versions to different, higher increments, and receive the same error.

If I change the type to a different Guid, the template loads just fine. The instructions imply that the Guid should be the same. I'm assuming this is so TFS knows the relationship between the built-in templates and custom templates they are based on.

I have a bunch of team projects to update the features on once the upgrade is complete and do not want to break the relationship to the built-in Agile process template if I can help it.

解决方案

You can no longer edit or delete the built in templates in TFS 2015 so you'll have to change the Guid if you want to upload your template.

Process Template changes to TFS 2015 RTM

In TFS 2015, the system templates are locked and cannot be changed. That change allowed us to overwrite the templates we ship, and with that we were able to rename the templates to Scrum, Agile and CMMI.

To create a custom process template based on a shipped template, simply export an existing template, give it a new name and version, and then reimport it by using the Process Template Manager. Existing projects are unaffected by this change, which means that they can continue to have their process customized by using witadmin.

这篇关于TFS 2015 不会上传自定义流程模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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