这是我的以下查询,我收到错误
Expecting end of string error caused by <<)>>
代码 :
string querystring = string.Format("select [System.ID],[System.WorkitemType],[System.Title],[System.State],[System.AssigendTo],[Microsoft.VSTS.StoryPoints]," +
"[Microsoft.VSTS.Common.Priorty],[System.iterationPath]"+
" FROM WorkitemLinks" +
" WHERE" +
" (Source.[System.TeamProject]='{0}'" +
" and Source.[System.IterationPath]='MRI_SCRUM_GIT\\Pluse Pheonix\\Sprint 1'" +
" and Source.[System.WorkitemType]='User Story' " +
" or Source.[System.WorkitemType]='Task'))" +
" and [System.Links.LinkType]='System.LinkTypes.Hierarchy-Forward'" +
" Target.[System.WorkItemType] <> 'Task' " +
" ORDER BY [Microsoft.VSTS.Common.StackRank]," +
" [Microsoft.VSTS.Common.Priorty]" +
" mode (Recursive)", projectname);
Query treequery = new Query(workItemStore, querystring);