Friday, March 12, 2010

Specify the testrunconfig in your TFS 2008 build file

After creating a TFS 2008 build file, I noticed that the build didn’t take into account the specified test run configuration data from the testrunconfig file.  You can easily add this reference in your build. Open the “TFSBuild.proj” file in your XML editor and locate the “PropertyGroup” node. Inside this node, add the following node “<RunConfigFile> </RunConfigFile>”. Inside this node you need to point to the location in your source control where the “.testrunconfig” file can be found. Use the $(SolutionRoot) tag and then add your folder like this:


No comments: