title: Specifying MSBuild version with GitHub action
body: <p>I'm trying to setup a GitHub workflow to compile a C++ Visual Studio 2019 solution, the default workflow could work but I'm linking against some libraries built with my MSVC version so I get the following error:</p>
  <pre><code>XXX was created by a different version of the compiler than other objects
  </code></pre>
  <p>which makes totally sense.</p>
  <p>According to setup-msbuild action <a href="https://github.com/marketplace/actions/setup-msbuild?version=v1.1" rel="nofollow noreferrer">it looks like</a> I can specify the version so I tried with</p>
  <pre><code>- name: Add MSBuild to PATH
        uses: microsoft/setup-msbuild@v1.1
        with:
          vs-version: '[16.9, 16.10)'
  </code></pre>
  <p>but this is failing with</p>
  <pre><code>Run microsoft/setup-msbuild@v1.1
  C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.Component.MSBuild -property installationPath -latest -version &quot;[16.9, 16.10)&quot;
  Error: Unable to find MSBuild.
  </code></pre>
  <p>How am I supposed to solve this? If it's even possible</p>