From the documentation:
Visual Studio Testing Tester combines the MSTest runner and the VSTest console. Support for both frameworks allows TeamCity to run tests and automatically import the results of its tests.
A Visual Studio test agent requires the Visual Studio validator or Microsoft Visual Studio installed in the build agent.
https://confluence.jetbrains.com/display/TCD10/Visual+Studio+Tests
This way you can make excellent use of VSTests from version 10.
For VSTests, you need to specify a different directory for the configuration parameter:
teamcity.dotnet.vstest.14.0: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe
This file will be available after installing the test agent (or visual studio).
If you still get an error, then something is wrong with the tests you specified, you probably incorrectly referenced the assemblies, make sure that the path and .dll files exist.
source share