Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TF900547: The directory containing the assemblies for the Visual Studio Test Runner is not valid but can't see MSTest.exe

I'm getting the following error on a TFS2013 build:

TF900547: The directory containing the assemblies for the Visual Studio Test Runner is not valid ''.

Looking here, it would seem that the answer to this is to change the test runner from VS test runner to MSTest. However, when I try to edit the Test Run in the build definition, the test runner option is set to Visual Studio Test Runner and greyed out. What determined what is shown in this box, and how can I add MSTest?

I have installed VS2012 agents for handling tests on the server.

like image 733
Paul Michaels Avatar asked Nov 11 '22 09:11

Paul Michaels


1 Answers

I fixed this by installing VS2013 on the build agent

like image 107
Paul Michaels Avatar answered Nov 14 '22 23:11

Paul Michaels