Our CI environment setup with [TFS Server 2015 + Visual studio build tools 2017]. When I try to run C# based unit test on environment it shows this error
TF900547: The directory containing the assemblies for the Visual Studio Test Runner is not valid ''.
Then I tried to fix the error by fallowing ways
- Installed VS test agent 2015 in the machine https://learn.microsoft.com/en-us/visualstudio/test/lab-management/install-configure-test-agents
- Copied
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow
from my computer to exact location to CI machine.- Changed test runner from
Visual Studio Test Runner
toMS Test Runner
- Changed test runner from
But still same error. Looks like tfs server not able to find the test agent folder. Anyone has idea how to fix this