tags:

views:

1145

answers:

1

I have a MSBuild script which looks similar to:

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    <Target Name="Build">

        <MSBuild Projects="MyProject.UnitTest.sln" Targets="Build" />

    </Target>
</Project>

How do I run the MSTest unit tests which are within the solution?

I am looking for something similar to what can be used in TFS Build of:

<TestContainerInOutput Include="%2a%2a\%2aTest.dll" />
+1  A: 

This blog post has a few ideas that might help.

Steven Robbins