ilammy / msvc-dev-cmd

GitHub Action to setup Developer Command Prompt for Microsoft Visual C++
MIT License
329 stars 44 forks source link

Toolset directory for version '14.3' was not found #81

Closed jonaski closed 1 month ago

jonaski commented 1 month ago

Since yesterday, the CI is failing sporadically with: "Toolset directory for version '14.3' was not found". Is this just GitHub being unstable?

Settings:

      - name: Setup MSVC Environment
        uses: ilammy/msvc-dev-cmd@v1
        with:
          arch: ${{matrix.arch}}
          sdk: 10.0.20348.0
          vsversion: 2022
          toolset: 14.3

https://github.com/strawberrymusicplayer/strawberry-msvc-dependencies/blob/94bdcc3dd742076a357b33c81a54da6b957ece85/.github/workflows/build.yml#L254

Run ilammy/msvc-dev-cmd@v1
Not found with vswhere
Trying standard location: C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
Trying standard location: C:\Program Files (x86)\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat
Trying standard location: C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat
Trying standard location: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat
Trying standard location: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
Found standard location: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
Error: Could not setup Developer Command Prompt: invalid parameters
[ERROR:vcvars.bat] Toolset directory for version '14.3' 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
pzhlkj6612 commented 1 month ago

Hi. Maybe the problem is the same as #80 ?

jonaski commented 1 month ago

Yes, I'm just removing toolset, thanks.

pzhlkj6612 commented 1 month ago

Yeah, GitHub guys appear to have upgraded the VC++ toolset to 14.40: 20240603.1 Windows2022-Readme.md

jonaski commented 1 month ago

Unfortunately, I'm experiencing lot's crashes: https://github.com/actions/runner-images/issues/10019