<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Team Foundation Server Team Blog - All Comments</title><link>http://blogs.msdn.com/b/team_foundation/</link><description>Application Lifecycle Management with Visual Studio Team Foundation Server</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Programming for the TFS Excel Add-in</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/11/06/programming-for-the-tfs-excel-add-in.aspx#10087147</link><pubDate>Sat, 06 Nov 2010 18:57:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10087147</guid><dc:creator>Sven Hubert AIT</dc:creator><description>&lt;p&gt;Thanks for this post!&lt;/p&gt;
&lt;p&gt;Any hints on how to avoid the odd beahvior of the Visual Basic Editor in Excel when Work Items are loaded into a Sheet? Spaces are removed automatically and so forth...&lt;/p&gt;
&lt;p&gt;Sven&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10087147" width="1" height="1"&gt;</description></item><item><title>re: Tool to configure SharePoint Server for dashboard compatibility with Team Foundation Server 2010</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/08/07/tool-to-configure-sharepoint-server-for-dashboard-compatibility-with-team-foundation-server-2010.aspx#10058700</link><pubDate>Tue, 07 Sep 2010 04:38:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10058700</guid><dc:creator>jenny</dc:creator><description>&lt;p&gt;Thanks to the upcoming World Basketball Festival, we now get a “USA” Air Jordan 2010 Team. It seems as if more people like the Air Jordan 2010 Team than the original Air Jordan 2010 because of the windowless side panels. I’m not one of those people who likes the team better; I think the original &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10058700" width="1" height="1"&gt;</description></item><item><title>re: WIQL syntax for Link Query</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/07/02/wiql-syntax-for-link-query.aspx#10051700</link><pubDate>Wed, 18 Aug 2010 22:56:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10051700</guid><dc:creator>Garry English</dc:creator><description>&lt;p&gt;The following worked for me to run queries:&lt;/p&gt;
&lt;p&gt;Dictionary&amp;lt;string, string&amp;gt; context = new Dictionary&amp;lt;string, string&amp;gt;();&lt;/p&gt;
&lt;p&gt;context .Add( &amp;quot;project&amp;quot;, queryDefinition.Project.Name );&lt;/p&gt;
&lt;p&gt;return store.Query( queryDefinition.QueryText, context );&lt;/p&gt;
&lt;p&gt;When adding variables, you shouldn&amp;#39;t add the &amp;#39;@&amp;#39; symbol:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/bb130306.aspx"&gt;msdn.microsoft.com/.../bb130306.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10051700" width="1" height="1"&gt;</description></item><item><title>re: WIQL syntax for Link Query</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/07/02/wiql-syntax-for-link-query.aspx#10049357</link><pubDate>Thu, 12 Aug 2010 13:58:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10049357</guid><dc:creator>Rene Guder</dc:creator><description>&lt;p&gt;Are there any other fields you can use in the &amp;lt;link expression&amp;gt; other than [System.Links.LinkType] ? I would like to filter my WorkItemLinks by their Comment. Using the API and a loop over all WorkItemLinks of a WorkItem is just too slow for my purpose.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10049357" width="1" height="1"&gt;</description></item><item><title>re: Change in HTML Field Behavior in the 2010 TFS Excel Integration</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/05/26/change-in-html-field-behavior-in-the-2010-tfs-excel-integration.aspx#10043596</link><pubDate>Wed, 28 Jul 2010 21:41:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10043596</guid><dc:creator>Simon Jones</dc:creator><description>&lt;p&gt;See this article for a description of how to add an HTML Comments field to the Task item and copy all data from Comments to HTMLComments. You may be able to adapt this to Bugs.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msmvps.com/blogs/vstsblog/archive/2009/01/11/using-rich-html-descriptions-instead-of-plain-text.aspx"&gt;msmvps.com/.../using-rich-html-descriptions-instead-of-plain-text.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10043596" width="1" height="1"&gt;</description></item><item><title>re: VS 2010 and TFS with Office 2003</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/04/24/vs-2010-and-tfs-with-office-2003.aspx#10038107</link><pubDate>Wed, 14 Jul 2010 13:41:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10038107</guid><dc:creator>Shawn Levendusky</dc:creator><description>&lt;p&gt;Great post. &amp;nbsp;Thank you. &amp;nbsp;My client has a comprehensive software request process so this 10 minute work around solved the immediate problem.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10038107" width="1" height="1"&gt;</description></item><item><title>re: Announcing Team Foundation Server Scrum v1.0 Beta</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/06/07/announcing-team-foundation-server-scrum-v1-0-beta.aspx#10038000</link><pubDate>Wed, 14 Jul 2010 08:25:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10038000</guid><dc:creator>Carl</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am finding this template to be perfect for our team. Do you have a rough guide as to when it will no longer be in beta?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10038000" width="1" height="1"&gt;</description></item><item><title>re: Work Item Tracking Queries Object Model in 2010</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/06/16/work-item-tracking-queries-object-model-in-2010.aspx#10037276</link><pubDate>Mon, 12 Jul 2010 19:23:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10037276</guid><dc:creator>Smitha Saligrama- MSFT</dc:creator><description>&lt;p&gt;If you want to use OM to run Linked queries, below is a sample&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; public WorkItemLinkInfo[] RunLinkQuery(string wiql)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Query query = new Query(m_workItemStore, wiql)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WorkItemLinkInfo[] workItemLinkInfoArray = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (query.IsLinkQuery)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; workItemLinkInfoArray = query.RunLinkQuery();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new Exception(&amp;quot;Run link query fail. Query passed is not a link query&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return workItemLinkInfoArray;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10037276" width="1" height="1"&gt;</description></item><item><title>re: WIQL syntax for Link Query</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/07/02/wiql-syntax-for-link-query.aspx#10036269</link><pubDate>Fri, 09 Jul 2010 07:04:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10036269</guid><dc:creator>Smitha Saligrama- MSFT</dc:creator><description>&lt;p&gt;There is a new Query object you will have to use to run linked queries.&lt;/p&gt;
&lt;p&gt;Below is a sample&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public WorkItemLinkInfo[] RunLinkQuery(QueryDefinition &amp;nbsp;queryDefinition)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Query query = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WorkItemLinkInfo[] workItemLinkInfoArray = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;query = GetQueryObjectFromQueryDefinition(queryDefinition);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (query.IsLinkQuery)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;workItemLinkInfoArray = query.RunLinkQuery();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new Exception(&amp;quot;Run link query fail. Query passed is not a link query&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return workItemLinkInfoArray;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; private Query GetQueryObjectFromQueryDefinition(QueryDefinition queryDefinition)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string wiql = queryDefinition.QueryText;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//Below code is to replace any macros&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.Collections.Hashtable context = new System.Collections.Hashtable();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;context.Add(&amp;quot;@project&amp;quot;, m_projectName);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;queryReturn = new Query(m_workItemStore, wiql, context);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return queryReturn;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;For full example on how to get QueryDefinition object, please check my another blog at&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/b/team_foundation/archive/2010/06/16/work-item-tracking-queries-object-model-in-2010.aspx"&gt;blogs.msdn.com/.../work-item-tracking-queries-object-model-in-2010.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10036269" width="1" height="1"&gt;</description></item><item><title>re: WIQL syntax for Link Query</title><link>http://blogs.msdn.com/b/team_foundation/archive/2010/07/02/wiql-syntax-for-link-query.aspx#10035335</link><pubDate>Wed, 07 Jul 2010 11:03:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10035335</guid><dc:creator>Grzegorz Wilczura</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;How can i execute such query from C# code? I tried WorkItemStore.Query() but i got:&lt;/p&gt;
&lt;p&gt;&amp;quot;You have specified a query string that is not valid when you use the query method for a flat list of work items. You cannot specify a parameterized query or a query string for linked work items with the query method you specified.&amp;quot;&lt;/p&gt;
&lt;p&gt;Greg.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10035335" width="1" height="1"&gt;</description></item></channel></rss>