I'm trying to run some unit tests from the command line using Visual Studio 2017 and the vstest.console.exe (C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe), The execution completes successfully on Windows 10 OS but it fails on Windows Server 2016 OS. Any idea what I could be missing here. I'm guessing it's a simple environment variable that is not being set and I'm unable to nail down the same. Any help, pointers, support is greatly appreciated from all the experienced VS users out there! Thanks!
The error that I notice is
Error Message:
Failed to set up the execution context to run the test