MSBUILD with github actions

Hi Everyone ,
I am trying to build my BizTalk Code with Git hub Actions and getting below error

vswhere-path: F:\actions-runner\actions-runner\TestCode\_tool\vswhere\2.7.1\x64\vswhere.exe
Error: setup-msbuild requires the path to where vswhere.exe exists

I have used self hosted runner which is idle in state . Runner is created on VM which is successful. Checkout operation is successful . My question is how to solve this error:

I am trying to Build code which is developed in VS 2015,

name: TestApplication
on:
  push:
    branches: [ main ]
  workflow_dispatch:

jobs:
  build:
    runs-on: self-hosted
    steps:
    - uses: actions/checkout@v2
    - name: Add msbuild to PATH
      uses: microsoft/setup-msbuild@v1.0.3
      with:
        vswhere-path: F:\actions-runner\actions-runner\WorkingPath\_tool\vswhere\2.7.1\x64\vswhere.exe
1 Like