Closed MisterDA closed 4 months ago
Hi!
As per [Windows-2022] Multiple VC Build Tools will be removed on May, 13 · Issue #9701 · actions/runner-images, I think GitHub has removed all VC++ toolsets except the latest one (for now it's 14.39). That's why the version 14.38 was not found.
Please compare the following two files (lines highlighted by me; I have no idea why two 14.29 toolsets are preserved):
.
That what I finally figured, thanks! It's strange though, I thought that 14.39 was pre-release. The page at Latest Microsoft Visual C++ Redistributable Version still indicates 14.38.
If I don't specify toolset
, will vcvarsall default to the latest version?
Thanks for the help!
@MisterDA
If I don't specify
toolset
, will vcvarsall default to the latest version?
The toolset
parameter is actually the -vcvars_ver
parameter of "vcvarsall"^1. Microsoft says that "By default, the environment is set to use the current Visual Studio compiler toolset"[^2], and there should be only one toolset on GitHub-hosted runners[^3], so I think you will pick the latest version by omitting the toolset
parameter.
[^2]: vcvarsall
syntax § Use the Microsoft C++ toolset from the command line | Microsoft Learn.
[^3]: Using GitHub-hosted runners - GitHub Docs.
Thanks a lot!
Starting today (2024-05-16), the action has started failing. Any idea of what's happening?