0
我試圖通過POSH在「Shared Queries」TFS工作項目文件夾中創建一個文件夾。如何在共享查詢TFS中創建自定義文件夾?
$teamProjectCollection = [Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionFactory]::GetTeamProjectCollection($ProjectCollectionUri);
#Get Work Item Store object
$wiStore = $teamProjectCollection.GetService([Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore])
$teamProject = $wiStore.Projects["$ProjectName"]
$ teamProject returned is null。我可以列舉所有其他項目,但不是我指定的參數。 任何線索怎麼回事?