N
Nicke A
Guest
Hi all,
I'm having trouble running unit tests on a freshly installed build server.
I have installed Visual Studio Build Tools version 15.9.8 on the build server and added the component "Test tools core features - Build Tools".
I can verify that the vstest.console.exe indeed is installed on the build server at "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow".
All software builds fine, even the Unit test projects, but when the agent comes to the task where it shall execute unit tests I'm presented with the following error.
"2019-03-08T11:19:43.0036664Z ##[error]Error reading the version of vstest.console.exe"
The Run Unit Test task (Visual Studio Test) is setup to use:
- Visual Studio Test version 2
- Select platform version (I have tried both latest and Visual Studio 2017)
But I am presented with the error:
"2019-03-08T11:19:43.0036664Z ##[error]Error reading the version of vstest.console.exe"
What am I missing here?
Best regards
Niklas Andersson
Continue reading...
I'm having trouble running unit tests on a freshly installed build server.
I have installed Visual Studio Build Tools version 15.9.8 on the build server and added the component "Test tools core features - Build Tools".
I can verify that the vstest.console.exe indeed is installed on the build server at "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow".
All software builds fine, even the Unit test projects, but when the agent comes to the task where it shall execute unit tests I'm presented with the following error.
"2019-03-08T11:19:43.0036664Z ##[error]Error reading the version of vstest.console.exe"
The Run Unit Test task (Visual Studio Test) is setup to use:
- Visual Studio Test version 2
- Select platform version (I have tried both latest and Visual Studio 2017)
But I am presented with the error:
"2019-03-08T11:19:43.0036664Z ##[error]Error reading the version of vstest.console.exe"
What am I missing here?
Best regards
Niklas Andersson
Continue reading...