-
Notifications
You must be signed in to change notification settings - Fork 52
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
Where visualstudio2019buildtools is installed? #117
Comments
I'm pretty certain there should be a |
Second issue: "Microsoft.VisualStudio.Workload.NativeDesktop" is the id of the workload for the full IDE, not for Build Tools. |
Lastly, I suggest installing the workload using its own addon package: (To be clear: install both packages, first visualstudio2019buildtools (no parameters needed), then visualstudio2019-workload-vctools with |
After fixing the workload installation, I can see that this toolset version gets installed: From the Visual Studio Installer I can select these toolsets to install:
which suggests to me that valid toolset versions that can be passed to vcvarsall.bat are "14.29", "14.16" and "14.0" |
I tried your suggestions, but the issue was not fixed. Not sure what to do. I merged some patches for now so we are one step closer to make this work. https://github.com/aminya/setup-cpp/blob/master/src/msvc/msvc.ts |
I suggest you try installing the packages by hand (just typing the choco commands and the vcvarsall.bat invocation into cmd) on a clean system and inspect the result. |
Looking at https://github.com/aminya/setup-cpp/runs/3635436051 I can see more issues:
One more suggestion: if you enable the verbose and debug output of choco ( |
Closing due to inactivity. |
I am working on a project that automates setting up a Cpp development environment. I am using visualstudio2017buildtools and visualstudio2019buildtools to set up MSVC. However, my tests fail because vcvars.bat cannot find the toolset. Could you help me with this?
https://github.com/aminya/setup-cpp
https://github.com/aminya/setup-cpp/runs/3618796745?check_suite_focus=true#step:7:302
The text was updated successfully, but these errors were encountered: