Does not work with toolset 14.28 on `windows-latest`
See original GitHub issueAnd in general, why not using the latest version of msvc in the README.md then show how to use older versions.
workflow file
runs-on: windows-latest
steps:
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64
toolset: 14.28
output
Run ilammy/msvc-dev-cmd@v1
Found with vswhere: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
Error: Could not setup Developer Command Prompt: invalid parameters
[ERROR:vcvars.bat] Toolset directory for version '14.28' was not found.
[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
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Latest supported Visual C++ Redistributable downloads
This article lists the download links for the latest versions of Visual C++ Redistributable packages.
Read more >error MSB8052: MSVC Toolset Version '14.28.29333' is not ...
One approach to trying to track it down is to open a Developer Command Prompt and run msbuild nameofyour.vcxproj /p:Configuration=Debug /p: ...
Read more >Windows 10 upgrade failed? Use these 5 tools to find the ...
Windows 10 upgrade failed? Use these 5 tools to find the problem and fix it fast. Most Windows 10 upgrades and feature updates...
Read more >Microsoft Visual C++ Redistributable Requirement for VMware ...
VMware Tools for Windows depends on Microsoft Visual C++ ... than the version included with VMware Tools installer, it will not install its ......
Read more >VS: 16.9 ambiguity between VC toolsets 14.28.29333 ... - GitLab
Visual Studio 16.9.x is shipped with several C++ toolsets including 14.28.29333 ... Link issues together to show that they're related.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This might be caused by some action runner shenanigans.
windows-latest
might mean slightly different environments, they upgraded on per-repo basis. But it seems that 14.28 should be included in all versions that they ship. See actions/virtual-enviroments.One thing to note is that neither this action, nor egor-tensin/vs-shell are installing MSVC components. They merely set up the environment for tools that are already installed in the system. If the tools are no there then they’re not there. For example, if you’re using private action runners, then that’s the administrator’s responsibility to install all the components.
Comparing the environments might shed some light onto this. The first step “Set up job” will output details:
If both workflows use exactly the save environment version but one fails while other does not – that’s weird. However, if a failing one has a different environment, that might be the reason.
Oh, thank you guys for sharing. I didn’t know this before.