<?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>How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx</link><description>Since the beginning, running tests in Team Build (or MSBuild in general) has meant having to use .vsmdi files to specify the tests to run. Tons of people have complained about it, as it's a burden to create and edit the files, as either VSTS for Testers</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>如何在沒有套用 Test Manager(.vsmdi 檔)下仍可採用 Team Build 與 整合 Testing</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#976052</link><pubDate>Sun, 05 Nov 2006 18:06:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:976052</guid><dc:creator>Refines.Info["Polo Lee"]</dc:creator><description>&lt;p&gt;在執行 Team Build 時，如果要配套 Team Testing, 有個缺點，你必須要先採用 Test Manager 來歸類整理暨有的 Test Case. 這是個美意卻也造成一點缺點，因為如果你安裝的版本&lt;/p&gt;
</description></item><item><title>Bye Bye VSMDI</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#999627</link><pubDate>Mon, 06 Nov 2006 17:39:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:999627</guid><dc:creator>Clark Sell</dc:creator><description>&lt;p&gt;That blasted VSMDI file. Well Buck, Tom and crew did it. They have finally given us the ability to run&lt;/p&gt;
</description></item><item><title>Exactly what I've been waiting for!</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1000238</link><pubDate>Mon, 06 Nov 2006 18:19:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1000238</guid><dc:creator>Tim Dallmann</dc:creator><description>&lt;p&gt;Just wanted to pass on a big THANK YOU for putting this together. &amp;nbsp;While we do have team suite in house, I find it much simpler to just include all unit tests within a set of dll's and have them automagically added to the build. &amp;nbsp;I've only just added it to a few of our team builds, but so far it's working flawlessly! &amp;nbsp;&lt;/p&gt;
</description></item><item><title>Buck Hodges : How to run tests without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1007011</link><pubDate>Tue, 07 Nov 2006 03:24:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1007011</guid><dc:creator>adamga's WebLog</dc:creator><description>&lt;p&gt;This has always been an issue for my customers! Link to Buck Hodges : How to run tests without test metadata&lt;/p&gt;
</description></item><item><title>re: How to run tests without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1010723</link><pubDate>Tue, 07 Nov 2006 08:52:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1010723</guid><dc:creator>anutthara</dc:creator><description>&lt;p&gt;Awesome stuff! Must come in really handy...so, the &amp;quot;all tests&amp;quot; test list need is really obliviated now, ain't it?&lt;/p&gt;
</description></item><item><title>Improvements for Continuous Integration using TFS</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1016297</link><pubDate>Tue, 07 Nov 2006 16:27:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1016297</guid><dc:creator>bharry's WebLog</dc:creator><description>&lt;p&gt;One of the big complaints we've gotten from customers trying to build a Continuous Integration or similar&lt;/p&gt;
</description></item><item><title>Go Ahead Run your Tests in the Build</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1017193</link><pubDate>Tue, 07 Nov 2006 17:51:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1017193</guid><dc:creator>Dave Lloyd's 2 Cents</dc:creator><description /></item><item><title>Improvements for Continuous Integration using TFS</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1017530</link><pubDate>Tue, 07 Nov 2006 18:18:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1017530</guid><dc:creator>It's Way Too Early For This</dc:creator><description>&lt;p&gt;Another project that sounds promising. Like the last, I've heard a lot of noise about this, as well as&lt;/p&gt;
</description></item><item><title>Running VSTS Tests without a test list</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1032745</link><pubDate>Wed, 08 Nov 2006 12:22:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1032745</guid><dc:creator>Ahmed Salijee</dc:creator><description>&lt;p&gt;I have received this question a couple of times recently. When setting up a Team Build you have the option&lt;/p&gt;
</description></item><item><title>re: How to run tests without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1040173</link><pubDate>Thu, 09 Nov 2006 00:51:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1040173</guid><dc:creator>bob53050</dc:creator><description>&lt;p&gt;YES, this has been a thorn in our side for running tests in our nightly build.&lt;/p&gt;
&lt;p&gt;Thanks for your efforts :)&lt;/p&gt;
&lt;p&gt;Bob Hanson&lt;/p&gt;
</description></item><item><title>re: How to run tests without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1040290</link><pubDate>Thu, 09 Nov 2006 00:58:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1040290</guid><dc:creator>David Boss</dc:creator><description>&lt;p&gt;This is just what we needed. &amp;nbsp;I've been updating those damn test lists on a daily basis just to keep up with our CI.&lt;/p&gt;
&lt;p&gt;How many ways can I say thank you!&lt;/p&gt;
</description></item><item><title>re: How to run tests without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1043860</link><pubDate>Thu, 09 Nov 2006 15:29:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1043860</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;First of all thank you for the task. I have one question:&lt;/p&gt;
&lt;p&gt;Using the task i am observing a slightly different behavior in Team Builds build status. Bevor using TestToolsTaskEx (using test lists) Team build sets the build status on a build with some failing tests to &amp;quot;FAILED&amp;quot;. With TestToolsTaskEx Team build sets the build status of a build with some tests failung to &amp;quot;Successfully completed&amp;quot;.&lt;/p&gt;
&lt;p&gt;Is this intended or did i miss something in configuration?&lt;/p&gt;
</description></item><item><title>re: How to run tests without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1050584</link><pubDate>Fri, 10 Nov 2006 06:42:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1050584</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Thanks for the great feedback, everyone.&lt;/p&gt;
&lt;p&gt;Thomas, you are correct. &amp;nbsp;Sorry, I missed that. &amp;nbsp;The difference seems to be a build step that's inserted by the original that's not there when using test containers. &amp;nbsp;I'll look into it and report back.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1051459</link><pubDate>Fri, 10 Nov 2006 07:46:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1051459</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Thomas, that was a bug in the original release. &amp;nbsp;I've updated the post and the attachment with the fix.&lt;/p&gt;
&lt;p&gt;Thanks for reporting the problem!&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>Updated version of new TestToolsTask</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1051671</link><pubDate>Fri, 10 Nov 2006 07:59:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1051671</guid><dc:creator>Buck Hodges</dc:creator><description>&lt;p&gt;I've updated the TestToolsTask that supports using test containers, in addition to the test metadata&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1054506</link><pubDate>Fri, 10 Nov 2006 19:02:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1054506</guid><dc:creator>Ralf</dc:creator><description>&lt;p&gt;Just one Question: What will happen to the Coverage when your Task is used. afik the assemblies for the coverage are namen within the vsmdi file?&lt;/p&gt;
</description></item><item><title>Want to run tests in Team Build without vsmdi files or test lists?</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1054572</link><pubDate>Fri, 10 Nov 2006 19:26:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1054572</guid><dc:creator>Anutthara's WebLog</dc:creator><description>&lt;p&gt;Buck has an update on his blog that explains how to run unit tests on Team Build without using vsmdi&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1054921</link><pubDate>Fri, 10 Nov 2006 21:09:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1054921</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;I know I must be missing something..&lt;/p&gt;
&lt;p&gt;But anywyas, &amp;nbsp;I love your add-on, it will be so helpful. But I seem to have lost code coverage when I use it. When I ran the &amp;nbsp;TFS server &amp;nbsp;the old way I had code coverage (same project), so I’m lead to believe that I have set something up wrong. But before I go down the “What did I mess up path “, I want to make sure that your add-on supports code coverage. So is code coverage suppose to work?&lt;/p&gt;
</description></item><item><title>Buck Hodges : Running Tests in a Build without Using .VSMDI Files</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1055201</link><pubDate>Fri, 10 Nov 2006 23:28:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1055201</guid><dc:creator>Rob Caron</dc:creator><description>&lt;p&gt;If you run tests as an MSBuild task in Team Foundation Build, you will probably be interested in a post&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1056926</link><pubDate>Sat, 11 Nov 2006 06:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1056926</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Joe, Dominic Hopton states the following in the forums.&lt;/p&gt;
&lt;p&gt;&amp;quot;You need to specify a .testrunconfig file (which has coverage turned on) to get code coverage with team build.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=609672&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=609672&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1065665</link><pubDate>Mon, 13 Nov 2006 04:42:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1065665</guid><dc:creator>Jay</dc:creator><description>&lt;p&gt;Buck, &amp;nbsp;Pardon me but I am new to all of this. &amp;nbsp;Just where am I supposed to specify the .testrunconfig file to use? &amp;nbsp;Is it part of the &amp;lt;TestContainerInOutput&amp;gt; tag?&lt;/p&gt;
&lt;p&gt;Jay&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1066318</link><pubDate>Mon, 13 Nov 2006 06:56:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1066318</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Jay, you would need to set the RunConfigFile property to specify the .testrunconfig file (see &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/aa721750"&gt;http://msdn2.microsoft.com/en-us/library/aa721750&lt;/a&gt;(VS.80).aspx for a list of all of the TestToolsTask properties).&lt;/p&gt;
&lt;p&gt;The TestContainer and TestContainerInOutput tags are used to specify tests without having to use the MetaDataFile and TestLists properties (the VSTS for Testers SKU is required to generate test metadata files and test lists in VS2005).&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1071472</link><pubDate>Tue, 14 Nov 2006 02:20:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1071472</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;Buck,&lt;/p&gt;
&lt;p&gt;I had Code Coverage &amp;nbsp;before, so I believe the Config file is correct. But I believe I have figured out the error. The project that does not work, is one of many projects in one Team Project. The problem I believe is that that the system looks for the &amp;nbsp;localtestrun.testrunconfig at the solution root, which is actually a folder above the project folder. This might be something I have done ( to mess this up that is). But I was able to overcome this be specifying the Config location in the &amp;nbsp;vsmdi and then reading it in the build.target. So for every vsmdi that does not work for CC I just point it to the correct file. If this isn’t necessary or I did something totally wrong, please let me know. And once again great add-on.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Joe&lt;/p&gt;
&lt;p&gt;Example&lt;/p&gt;
&lt;p&gt;Vsmdi&lt;/p&gt;
&lt;p&gt;&amp;lt;ConfigLocation&amp;gt;E:\TeamBuilds\MainProj\Build Foo App\Sources\testFoo\localtestrun.testrunconfig&amp;lt;/ConfigLocation&amp;gt;&lt;/p&gt;
&lt;p&gt;Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;!-- TestContainer tests for non-desktop builds. --&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;TestToolsTask&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Condition=&amp;quot; '$(IsDesktopBuild)'!='true' and '%(TestContainer.Identity)' != '' &amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BuildFlavor=&amp;quot;$(Flavor)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Platform=&amp;quot;$(Platform)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PublishServer=&amp;quot;$(TeamFoundationServerUrl)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PublishBuild=&amp;quot;$(BuildNumber)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SearchPathRoot=&amp;quot;$(SearchPathRoot)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PathToResultsFilesRoot=&amp;quot;$(TestResultsRoot)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TestContainers=&amp;quot;%(TestContainer.Identity)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RunConfigFile=&amp;quot;$(ConfigLocation)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TeamProject=&amp;quot;$(TeamProject)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ContinueOnError=&amp;quot;true&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;!-- TestContainer tests for desktop builds. --&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;TestToolsTask&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Condition=&amp;quot; '$(IsDesktopBuild)'=='true' and '%(TestContainer.Identity)' != '' &amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SearchPathRoot=&amp;quot;$(SearchPathRoot)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PathToResultsFilesRoot=&amp;quot;$(TestResultsRoot)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RunConfigFile=&amp;quot;$(ConfigLocation)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TestContainers=&amp;quot;%(TestContainer.Identity)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ContinueOnError=&amp;quot;true&amp;quot; /&amp;gt;&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1072518</link><pubDate>Tue, 14 Nov 2006 05:13:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1072518</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Okay, so the .vsmdi file allows the config file location to be specified. &amp;nbsp;Now it makes sense that the behavior would change when you switched away from the .vsmdi file.&lt;/p&gt;
&lt;p&gt;So, did you actually modify the .targets file to use the ConfigLocation property, or did you somehow import the setting from the .vsmdi file? &amp;nbsp;Normally, that's the RunConfigFile property (has the same name as the TaskProperty).&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1075673</link><pubDate>Tue, 14 Nov 2006 18:36:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1075673</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;I created a new property in the vsmdi called ConfigLocation &amp;nbsp;and then had the target read that location. I'm not sure where the system was getting the &amp;nbsp;org config location, but once I switched to your add-on it was not looking in the correct spot. So I just over-ridded the location and had it look at the vsmdi's property that I created.&lt;/p&gt;
&lt;p&gt;Change in vmsdi (I added this)&lt;/p&gt;
&lt;p&gt;&amp;lt;ConfigLocation&amp;gt;E:\TeamBuilds\MainProj\Build Foo App\Sources\testFoo\localtestrun.testrunconfig&amp;lt;/ConfigLocation&amp;gt;&lt;/p&gt;
&lt;p&gt;Change I did to the target:&lt;/p&gt;
&lt;p&gt;RunConfigFile=&amp;quot;$(ConfigLocation)&amp;quot;&lt;/p&gt;
&lt;p&gt;Hope that makes sense.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Joe&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1075743</link><pubDate>Tue, 14 Nov 2006 19:04:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1075743</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Thanks for the clarification. &amp;nbsp;If the new property were called RunConfigFile rather than ConfigLocation, it would work without changing the .targets file. &amp;nbsp;Alternatively, you could put that setting in the TfsBuild.proj file.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1081773</link><pubDate>Wed, 15 Nov 2006 21:46:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1081773</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;Woops I said vmsdi. I meant the project file. But anyways, your suggestion works great. Thanks for all your help.&lt;/p&gt;
&lt;p&gt;Joe&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1122765</link><pubDate>Wed, 22 Nov 2006 18:53:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1122765</guid><dc:creator>Dylan Smith</dc:creator><description>&lt;p&gt;How can we specify the location of the testrunconfig file in the TfsBuild.proj file? &amp;nbsp;Can you provide an example?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Dylan&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1125982</link><pubDate>Thu, 23 Nov 2006 07:40:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1125982</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Dylan, you would need to set the RunConfigFile property in your TfsBuild.proj for the build type (via the standard msbuild &amp;lt;PropertyGroup&amp;gt; tag). &amp;nbsp;Team Build will pass that to the TestToolsTask. &amp;nbsp;You can find the documentation on the TestToolsTask's RunConfigFile property at &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-gb/library/aa721750"&gt;http://msdn2.microsoft.com/en-gb/library/aa721750&lt;/a&gt;(VS.80).aspx.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1170168</link><pubDate>Wed, 29 Nov 2006 10:56:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1170168</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;thank you. I haven't tried it yet, but this was a LARGE annoyance for us since most people here just have Team Editon for developers&lt;/p&gt;
</description></item><item><title>More on the Orcas features for Team Build</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1191089</link><pubDate>Sat, 02 Dec 2006 08:33:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1191089</guid><dc:creator>Buck Hodges</dc:creator><description>&lt;p&gt;Brian Harry posted a TFS roadmap . I'd like to expand on the portion that describes the features specific&lt;/p&gt;
</description></item><item><title>Go Ahead Run your Tests in the Build</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1407252</link><pubDate>Thu, 04 Jan 2007 01:42:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1407252</guid><dc:creator>Dave Lloyd's 2 Cents</dc:creator><description>&lt;P&gt;Do you want to be able to run tests in Team Build without having to use a .vsmdi file. Well now you can.&lt;/P&gt;</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1415866</link><pubDate>Fri, 05 Jan 2007 13:42:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1415866</guid><dc:creator>volt</dc:creator><description>&lt;p&gt;this 'hack' is a great thing!&lt;/p&gt;
&lt;p&gt;To those who can't make it running properly - make sure you have in your TFSBuild.proj, tag &amp;lt;RunTest&amp;gt;true&amp;lt;/RunTest&amp;gt;&lt;/p&gt;
&lt;p&gt;On my installation it was false by default :)&lt;/p&gt;
</description></item><item><title>TFS: Automating unit tests as part of the Team Build</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1669969</link><pubDate>Tue, 13 Feb 2007 19:24:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1669969</guid><dc:creator>John Rayner's Blog</dc:creator><description>&lt;p&gt;In my new project, we&amp;amp;#39;re using Team Foundation Server (TFS) as our source code repository and probably&lt;/p&gt;
</description></item><item><title>Team Foundation Power Tools version 1.2 (aka TFS Power Toys)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1732927</link><pubDate>Wed, 21 Feb 2007 08:26:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1732927</guid><dc:creator>Buck Hodges</dc:creator><description>&lt;p&gt;We are happy to announce the release of version 1.2 of Team Foundation Power Tools (formerly known as&lt;/p&gt;
</description></item><item><title>Run tests from your TFS Team Build without a test list (.vsmdi) with code coverage</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#1914138</link><pubDate>Mon, 19 Mar 2007 21:44:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1914138</guid><dc:creator>Benjamin Day Consulting, Inc.: The Blog</dc:creator><description /></item><item><title>Update to &amp;quot;How to run tests in a build without test metadata files and test lists (.vsmdi files)&amp;quot;: Test Categories</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#2306839</link><pubDate>Sat, 28 Apr 2007 05:04:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2306839</guid><dc:creator>Buck Hodges</dc:creator><description>&lt;p&gt;Pierre Greborio , a developer over in MSTV, has contributed a great new feature to the power tool task&lt;/p&gt;
</description></item><item><title>VSTS unit testing and the .VSMDI</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#3408867</link><pubDate>Tue, 19 Jun 2007 20:43:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3408867</guid><dc:creator>Dave Lloyd's 2 Cents</dc:creator><description>&lt;p&gt;If you have done any serious unit testing with Visual Studio Team System and tried to include these tests&lt;/p&gt;
</description></item><item><title>Run Non-</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#3710788</link><pubDate>Thu, 05 Jul 2007 22:17:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3710788</guid><dc:creator>Benjamin Day Consulting, Inc.: The Blog</dc:creator><description>&lt;p&gt;Run Non-&lt;/p&gt;</description></item><item><title>How to enable code coverage without a test list</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#3717371</link><pubDate>Fri, 06 Jul 2007 04:14:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3717371</guid><dc:creator>Buck Hodges</dc:creator><description>&lt;p&gt;Aaron pointed out this post by Ben Day that talks about using the RunConfigFile property with a build&lt;/p&gt;
</description></item><item><title>How to enable code coverage without a test list</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#3718270</link><pubDate>Fri, 06 Jul 2007 05:08:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3718270</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;Aaron pointed out this post by Ben Day that talks about using the RunConfigFile property with a build&lt;/p&gt;
</description></item><item><title>Visual Studio Team System Tip of the Week- Build lists not showing up in the build menu #1</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#8336727</link><pubDate>Wed, 26 Mar 2008 01:55:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8336727</guid><dc:creator>Ozzie Rules Blogging </dc:creator><description>&lt;p&gt;Long ago i learned you really don't get to know your peers/peeps/coworkers until you spend an evening&lt;/p&gt;
</description></item><item><title>Team Foundation Build, Part 3: Creating a Build</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#8340542</link><pubDate>Fri, 28 Mar 2008 01:51:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8340542</guid><dc:creator> GrabBag&lt;T&gt;</dc:creator><description>&lt;p&gt;This post was originally published here . In part 1 and 2 of this series, I gave an overview of Team&lt;/p&gt;
</description></item><item><title>【日本語版】 （最新版） 「テスト メタデータ ファイルやテスト リスト (.vsmdi files) を使用せずにビルドでテストを実行する方法」： テスト カテゴリ</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#9223076</link><pubDate>Tue, 16 Dec 2008 04:27:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9223076</guid><dc:creator>Microsoft Japan Forum Operators Blog</dc:creator><description>&lt;p&gt;こんにちは！ フォーラム オペレーターの服部清次です。 昨日に続きまして、 MSDN フォーラムの Team Foundation Server 関連 FAQ コンテンツ で紹介しました英語スレッドの日本語訳をもう&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#9916942</link><pubDate>Tue, 03 Nov 2009 20:02:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9916942</guid><dc:creator>ScTest</dc:creator><description>&lt;p&gt;What part of this is still valid with TFS/Visual Studio 2008?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: How to run tests in a build without test metadata files and test lists (.vsmdi files)</title><link>http://blogs.msdn.com/buckh/archive/2006/11/04/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx#9917420</link><pubDate>Wed, 04 Nov 2009 17:22:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9917420</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;ScTest, this functionality is built into the 2008 release. &amp;nbsp;In a tfsbuild.proj file generated by 2008, you will find a section with comments about how to use the feature. &amp;nbsp;You can also turn it on during the process of creating a new build definition in 2008.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item></channel></rss>