簡體   English   中英

無法從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上為我的收藏創​​建新的團隊項目。我能夠使用Web界面成功創建項目,但是從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中創建項目,因此不必依賴於Web UI會很好。

編輯:我正在選擇敏捷流程模板和TFVC進行版本控制。

此選項已移至Web,並且不再受Visual Studio支持。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM