在服务器之间移动 TFS 模板

发布于 2024-08-12 07:14:01 字数 3776 浏览 1 评论 0原文

我们定制了一个TFS模板。

我们现在想将此模板移动到不同的 TFS 服务器。

做到这一点的最佳方法是什么?

谢谢

Shiraz

编辑

我们尝试了下面推荐的流程模板,但在尝试导入时出现以下错误:

---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
--- end Exception entry ---

2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Template Importer
Exception Type: Microsoft.TeamFoundation.Client.ValidationFailedException
Exception Message: TF30175: Process template validation failed
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
   at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.ValidateMethodology(String folderPath, ILogHandler logHandler)
   at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.Import(String folderPath, ILogHandler logHandler)
--   Inner Exception   --
Exception Type: Microsoft.VisualStudio.TeamFoundation.TaskFailedException
Exception Message: TF30162: Task "SharePointPortal" from Group "Portal" failed
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.PerformAllTasks(ITaskPerformer taskPerformer, ProjectCreationContext creationContext, List`1 projectTasks)
   at Microsoft.VisualStudio.TeamFoundation.EngineStarter.RunEngine(Boolean isValidationRun, String templateFolder)
   at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
-- end Inner Exception --
--   Inner Exception   --
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- end Inner Exception --
--- end Exception entry ---

We have customized a TFS Template.

We would now like to move this template to a different TFS Server.

What is the best ways to do this?

Thanks

Shiraz

EDIT

We tried the process template as recommend below, but got the following error when trying to import:

---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
--- end Exception entry ---

2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Template Importer
Exception Type: Microsoft.TeamFoundation.Client.ValidationFailedException
Exception Message: TF30175: Process template validation failed
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
   at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.ValidateMethodology(String folderPath, ILogHandler logHandler)
   at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.Import(String folderPath, ILogHandler logHandler)
--   Inner Exception   --
Exception Type: Microsoft.VisualStudio.TeamFoundation.TaskFailedException
Exception Message: TF30162: Task "SharePointPortal" from Group "Portal" failed
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.PerformAllTasks(ITaskPerformer taskPerformer, ProjectCreationContext creationContext, List`1 projectTasks)
   at Microsoft.VisualStudio.TeamFoundation.EngineStarter.RunEngine(Boolean isValidationRun, String templateFolder)
   at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
-- end Inner Exception --
--   Inner Exception   --
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- end Inner Exception --
--- end Exception entry ---

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

十秒萌定你 2024-08-19 07:14:01

尝试使用流程模板管理器下载并上传模板。

Try using the Process Template Manager to download and upload templates.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文