Currently CI pipelines are failing because its image is switched to use VS 2022.
The script cannot find the Google Test Adapter in VS 2019 folder and fails.
In this PR we update the build script to use VS 2022 for PRs and to look for the Google Test Adapter in the VS 2022 folder.
The build job timeout is increased to 5 hours because we see a timeout after 3.5 hours when we build x64 debug for UWP.
Cherry pick PR #171. Original description:
Currently CI pipelines are failing because its image is switched to use VS 2022. The script cannot find the Google Test Adapter in VS 2019 folder and fails.
In this PR we update the build script to use VS 2022 for PRs and to look for the Google Test Adapter in the VS 2022 folder.
The build job timeout is increased to 5 hours because we see a timeout after 3.5 hours when we build x64 debug for UWP.
Microsoft Reviewers: Open in CodeFlow