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

Unable to set toolset version #84

Open
Manicsteiner opened this issue Jun 30, 2024 · 1 comment
Open

Unable to set toolset version #84

Manicsteiner opened this issue Jun 30, 2024 · 1 comment

Comments

@Manicsteiner
Copy link

Tried to add this script in my project, it failed to find toolset version 14.38.

Run ilammy/msvc-dev-cmd@v1
with:
arch: x64
toolset: 14.38
env:
MAABUILDER_TARGET_PLATFORM: x64
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.bat] Toolset directory for version '14.38' 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

https://github.com/Manicsteiner/MaaAssistantArknights/actions/runs/9732513554/job/26858278157#step:3:9

According to information from other issues, the toolset version can only be set to the version included in runner images. However, in the 20240514 update, Github removed almost all toolsets from other versions and has not been added back yet. Does this mean that the ‘version’ input arg is no longer available?

@pzhlkj6612
Copy link
Contributor

Hi.

Does this mean that the ‘version’ input arg is no longer available?

That means that the "version" arg is almost useless for GitHub runners.

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