Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolset 14.0 doesn't work #53

Closed
ashleyabraham opened this issue Mar 4, 2022 · 3 comments
Closed

Toolset 14.0 doesn't work #53

ashleyabraham opened this issue Mar 4, 2022 · 3 comments

Comments

@ashleyabraham
Copy link

Toolset 14.0 doesn't work and here's my snippet from build.yml

- name: Windows & Python 3.5 only setup
      if: ${{ matrix.os ==  'windows-latest' && matrix.python-version == '3.5'}}
      uses: ilammy/msvc-dev-cmd@v1
      with:
          toolset: '14.0'

Error/Response message

Run ilammy/msvc-dev-cmd@v1
Found with vswhere: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
Error: Could not setup Developer Command Prompt: invalid parameters
[ERROR:vcvars[14](https://github.com/ashleyabraham/rii/runs/5418841482?check_suite_focus=true#step:6:14)0.bat] VC++ 14.0 Toolset Installation was not found. Init did not complete successfully.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
[ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set VSCMD_DEBUG=[value]' and then re-run
[ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
[ERROR:VsDevCmd.bat] Where [value] is:
[ERROR:VsDevCmd.bat]    1 : basic debug logging
[ERROR:VsDevCmd.bat]    2 : detailed debug logging
[ERROR:VsDevCmd.bat]    3 : trace level logging. Redirection of output to a file when using this level is recommended.
[ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
[ERROR:VsDevCmd.bat]          vsdevcmd.bat > vsdevcmd.trace.txt 2>&1

If GitHub doesn't support 14.0 toolset, then please update the readme to remove the 14.0 misleading message

@pzhlkj6612
Copy link
Contributor

Hi. May be you are using windows-latest as the runner's OS. Please try windows-2016 or windows-2019 .

@ashleyabraham
Copy link
Author

ashleyabraham commented Mar 4, 2022 via email

@ashleyabraham
Copy link
Author

windows-2019 worked well with toolset 14.0, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants