I have a Visual Studio 2010 MVC 3 application with unit tests projects in it. I have a TFS 2008 build definition to build the solution.
On the build agent i have got
You need VS 2010 Premium or Ultimate installed to use those switches in MSTest.exe. You can get around this sort of by just doing an Exec of MSTest with the switches you want, but then you won't see the results as nicely in your build.