tried specifying the location in the github actions for mstest "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\MSTest.exe".
But it says cannot find path as it does not exist.
tried specifying the location in the github actions for mstest "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\MSTest.exe".
But it says cannot find path as it does not exist.
Is you pipeline using the Setup Msbuild
task?
Here is an example of pipeline to display MsTest
's help:
name: Display MsTest helper
on:
push:
branches:
- '**'
jobs:
build:
runs-on: windows-latest
steps:
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
- name: Run a one-line script
run: '& "$(vswhere -property installationPath)\Common7\IDE\MSTest.exe" /help'