Is it possible to install additional VS2022 components on the fly? #11267
Answered
by
Prabhatkumar59
Dexus
asked this question in
General questions
-
I'm looking but did not found yet a solution. I can't build some modules, because VS2022 missing some packages. I would like to add them, with my vsconfig, but don't get it working. It fails always, and tells me C++ Build Tools missing or something like that.
https://github.com/deepnest-next/node-clipper2/actions/runs/12586656488/job/35080959709 I can build it local without problems. So what need I todo, that it works? |
Beta Was this translation helpful? Give feedback.
Answered by
Prabhatkumar59
Jan 6, 2025
Replies: 1 comment 3 replies
-
Hi @Dexus - We will look into this and will update you with solutions in no time, thanks:) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Dexus - After observing from your issue description, please ensure the necessary components (e.g., C++ Build Tools) are specified in a .vsconfig file.
Also, once you can try to Install missing components by running following :
"C:\Path\To\vs_installer.exe" install --installPath "C:\Path\To\VS" --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --passive --norestart
Then try to verify the link.exe path matches Visual Studio's linker, not Git's link.exe.
Additionally, try to use the GitHub Actions setup-msbuild action to install required workloads.
Let us know if you need further clarification! thanks