无法从 Visual Studio 2017 开始为 Azure DevOps Server 2019 创建团队项目
Can't create a Team Project for Azure DevOps Server 2019 from Visual Studio 2017
我正在尝试在 Visual Studio 2017 年新安装的 Azure DevOps Server 2019 上为我的 Collection 创建一个新的团队项目。我能够使用网络成功创建项目界面,但是当从 VS 尝试时失败。这是日志中的异常条目:
---begin Exception entry---
Time: 2019-08-05T10:53:19
Module: Work Item Tracking
Exception Message: VS1640129: The collection you are targeting uses inheritance process model. This operation is not allowed on an inheritance process model based collection. Please refer to https://go.microsoft.com/fwlink/?linkid=849010 or contact your system administrator for help. (type VssServiceException)
Exception Stack Trace: at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<HandleResponseAsync>d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__47`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__28`1.MoveNext()
--- end Exception entry ---
2019-08-05T10:53:19 | Module: Work Item Tracking | Thread: 28 | Uploaded WorkItemType definition from C:\Users\natha589\AppData\Local\Temp\TPW_tmpADC0.tmp\WorkItem Tracking\TypeDefinitions\Bug.xml.
---begin Exception entry---
Time: 2019-08-05T10:53:19
Module: Engine
Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Message: Work item type validation failed. The operation cannot be completed. (type WitPcwFatalException)
Exception Stack Trace: at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.UploadTypeDefinition(String file, Boolean execute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.Execute()
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
--- end Exception entry ---
我的团队习惯于在 Visual Studio 内部创建项目,因此不必依赖网络会很好 UI。
编辑:我正在选择敏捷过程模板和 TFVC 进行版本控制。
此选项已移至网络,不再受 Visual Studio 支持。
我正在尝试在 Visual Studio 2017 年新安装的 Azure DevOps Server 2019 上为我的 Collection 创建一个新的团队项目。我能够使用网络成功创建项目界面,但是当从 VS 尝试时失败。这是日志中的异常条目:
---begin Exception entry---
Time: 2019-08-05T10:53:19
Module: Work Item Tracking
Exception Message: VS1640129: The collection you are targeting uses inheritance process model. This operation is not allowed on an inheritance process model based collection. Please refer to https://go.microsoft.com/fwlink/?linkid=849010 or contact your system administrator for help. (type VssServiceException)
Exception Stack Trace: at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<HandleResponseAsync>d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__47`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__28`1.MoveNext()
--- end Exception entry ---
2019-08-05T10:53:19 | Module: Work Item Tracking | Thread: 28 | Uploaded WorkItemType definition from C:\Users\natha589\AppData\Local\Temp\TPW_tmpADC0.tmp\WorkItem Tracking\TypeDefinitions\Bug.xml.
---begin Exception entry---
Time: 2019-08-05T10:53:19
Module: Engine
Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Message: Work item type validation failed. The operation cannot be completed. (type WitPcwFatalException)
Exception Stack Trace: at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.UploadTypeDefinition(String file, Boolean execute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.Execute()
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
--- end Exception entry ---
我的团队习惯于在 Visual Studio 内部创建项目,因此不必依赖网络会很好 UI。
编辑:我正在选择敏捷过程模板和 TFVC 进行版本控制。
此选项已移至网络,不再受 Visual Studio 支持。