错误TF30170:"您使用的流程模板不支持Git。"在创建团队项目时

时间:2016-04-06 15:23:00

标签: git tfs tfs2015 tfs-process-template team-project

尝试使用自定义流程模板在TFS 2015 R2(on-Prem)中创建新的团队项目时,我收到此错误弹出窗口:

TFS Error when attempting to create a new Team Proejct

这是一个惊喜,因为我们的自定义流程模板基于默认的Microsoft Scrum模板。

我的google-fu几乎没有其他人在互联网上出现此错误。我相信我有一个解决方案,如果是这样,我会相应地回答这个问题。

1 个答案:

答案 0 :(得分:3)

如果您的Scrum模板来自Team Foundation Server中引入Git之前,您可能需要编辑VersionControl.xml以在其中包含Git引用:

<?xml version="1.0" encoding="utf-8"?>
<tasks>
  <task id="VersionControlTask" name="Create Version Control area" plugin="Microsoft.ProjectCreationWizard.VersionControl" completionMessage="Version control Task completed.">
    <taskXml>

      ...

      <git>
        <permission allow="GenericRead, GenericContribute, ForcePush, Administer, CreateBranch, CreateTag, ManageNote" identity="[$$PROJECTNAME$$]\$$PROJECTADMINGROUP$$" />
        <permission allow="GenericRead, GenericContribute, CreateBranch, CreateTag, ManageNote" identity="[$$PROJECTNAME$$]\Contributors" />
        <permission allow="GenericRead, GenericContribute, CreateBranch, CreateTag, ManageNote" identity="[$$PROJECTNAME$$]\Build Administrators" />
        <permission allow="GenericRead" identity="[$$PROJECTNAME$$]\Readers" />
      </git>
    </taskXml>
  </task>
</tasks>

将该blob添加到文件中应该可以让您完成该过程。

相关问题