项目中不存在Microsoft.TestPlanCategory

编程入门 行业动态 更新时间:2024-10-15 08:22:16
本文介绍了项目中不存在Microsoft.TestPlanCategory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

将TFS 2012升级到TFS 2015 2.1后,我在尝试连接到TFS项目时收到 Microsoft测试管理器中的错误:

After upgrading TFS 2012 to TFS 2015 2.1, I am receiving error in Microsoft Test Manager when trying to connect toTFS project:

VS402325:工作项类型类别Microsoft.TestPlanCategory在项目中不存在"MyTFSProjectName"

VS402325: Work item type category Microsoft.TestPlanCategory does not exist in project "MyTFSProjectName"

推荐答案

嗨Belcavitch,

Hi Belcavitch,

感谢您在此处发帖。

根据错误消息,类别中没有Microsoft.TestPlanCategory 。我建议你可以尝试通过以下步骤手动添加类别:

According to the error message, there is no Microsoft.TestPlanCategory in the Categories. I suggest that you could try to add the category manually by the following steps:

1. 在团队资源管理器中下载最新版本的流程模板 。

2.通过以下命令将测试计划工作项类型从流程模板导入团队项目:

2.Import the Test Plan work item types from the process template to the team project by the following command:

witadmin importwitd / collection:CollectionURL / p:" ProjectName" /f:"DirectoryPath\WITDefinitionFile.xml"

witadmin importwitd /collection:CollectionURL /p:"ProjectName" /f:"DirectoryPath\WITDefinitionFile.xml"

3.通过以下命令导出类别:

3.Export the Categories by the following command:

witadmin exportcategories / collection:CollectionURL / p:ProjectName / f:" DirectoryPath \Categories

witadminexportcategories /collection:CollectionURL /p:ProjectName /f:"DirectoryPath\Categories

4.将测试计划添加到类别:

4.Add the test plan to Categories:

<CATEGORY name="Test Plan Category" refname="Microsoft.TestPlanCategory"> <DEFAULTWORKITEMTYPE name="Test Plan" /> </CATEGORY>

5.将类别导入团队项目。

5.Import the Categories back to the team project.

witadmin importcategories / collection:CollectionURL / p:ProjectName / f:" DirectoryPath \Categories

witadmin importcategories /collection:CollectionURL /p:ProjectName /f:"DirectoryPath\Categories

有关详细信息,请参阅以下内容链接:

For more information, you could refer to the following link:

msdn.microsoft/en-us/library/dn789837.aspx

您需要执行 配置功能向导

And you need to do the Configure Features Wizard after the upgrade.

最好的问候

Limitxiao Gao

Limitxiao Gao

更多推荐

项目中不存在Microsoft.TestPlanCategory

本文发布于:2023-11-16 23:00:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1607853.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中不   项目   TestPlanCategory   Microsoft

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!