The task started to fail after VS2019 was installed on the build-agent, By looking at the debug-output, it looks like the Get-VsPath method returns paths to both versions, instead of just the Latest. We've tried to specify a specific version, but with same result. Attached is a screenshot of the debug-output

The task started to fail after VS2019 was installed on the build-agent, By looking at the debug-output, it looks like the Get-VsPath method returns paths to both versions, instead of just the Latest. We've tried to specify a specific version, but with same result. Attached is a screenshot of the debug-output