TFS 2013.4 - 无法从VS 2013.4创建团队项目

时间:2014-12-25 11:09:04

标签: visual-studio-2013 tfs2013

Error 
TF30170: The plugin Microsoft.ProjectCreationWizard.TestManagement failed during task TestResolutionState from group TestManagement. 

解释

  

插件错误文本:“System.MissingFieldException:找不到字段:   ' Microsoft.TeamFoundation.TestManagement.Common.WitCategoryRefName.SharedDataSet&#39 ;.   在   Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_SharedParameterDataSetWorkItemTypeName()   在   Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_HasSupportForSharedParameterDataSets()   在   Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject..ctor(TestManagementService   manager,String projectName)at   Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.b__0(字符串   姓名)at   Microsoft.TeamFoundation.TestManagement.Client.ObjectCache`2.Get(关键   密钥,创作者创作者)   Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.GetTeamProject(字符串   projectName)at   Microsoft.TeamFoundation.TestManagement.PcwPlugin.ContextWrapper.get_Project()   在   Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.SetPermissionsIfNeeded(ContextWrapper   包装)   Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper   wrapper,XmlNode taskXml,Boolean fExecute)“

用户操作

与Team Foundation Server管理员联系。

3 个答案:

答案 0 :(得分:3)

我刚刚看到了这个确切的问题(TFS 2013 Update 4和Visual Studio 2013 Update 4)。我发现Microsoft Connect网站上发布的here解决方案解决了这个问题。简而言之,卸载一些错误安装的程序集会让一切都恢复正常。

1. Close all instances on Visual Studio and Microsoft Test Manager
2. Open Visual Studio command prompt in admin mode.
3. Perform the following steps:
   ngen uninstall Microsoft.TeamFoundation.TestManagement.Client
   ngen uninstall Microsoft.TeamFoundation.TestManagement.Common

答案 1 :(得分:1)

当Visual Studio的版本未升级到Update 4并尝试创建新的团队项目时,我看到了这个问题。我建议您首先确保Visual Studio的版本(用于创建新团队项目)与TFS版本相同(在本例中为Update 4)。

答案 2 :(得分:0)

我在msdn forum

上找到了一个workaroud
  

产品的V1.0版本中存在一个影响团队的错误   Team Foundation Administrators组具有的项目创建   TFS项目级别组在其层次结构中。这可能是一种方式   如果您尝试通过添加团队来打开系统,则会发生这种情况   基础有效用户组到Team Foundation管理员   虽然任何TFS项目级别组都会触发该条件   (例如,[项目A] \项目管理员)。这个问题只会影响   团队项目创建,它可以暂时解决   从Team Foundation中删除TFS项目级别组   管理员组。这个团队项目有一个变种   如果同步进程在用户中运行,则会出现创建错误   没有有效的安全标识符。我不太确定   如果您删除的域用户的情况触发了这种情况,但我   将跟进以了解情况。在此期间,请看一下   Team Foundation Administrators组的成员身份,以查看是否   层次结构中有任何TFS项目级别组。

我不知道微软是否已经发布了针对此漏洞的补丁,但是现在我选择返回TFS 2012,它就像魅力一样