Skip to content

Is it possible to install additional VS2022 components on the fly? #11267

Discussion options

You must be logged in to vote

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

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Prabhatkumar59
Comment options

Answer selected by Prabhatkumar59
@Dexus
Comment options

@Dexus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants