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

Could not find valid Visual Studio installation! #15

Open
liriyao opened this issue Sep 19, 2024 · 1 comment
Open

Could not find valid Visual Studio installation! #15

liriyao opened this issue Sep 19, 2024 · 1 comment

Comments

@liriyao
Copy link

liriyao commented Sep 19, 2024

1726717282069
don't work on vs2022

@Sibras
Copy link
Member

Sibras commented Sep 28, 2024

Run vswhere by itself from the terminal to check what it finds

./vswhere.exe -find MSBuild

then run the following command

./vswhere.exe -prerelease -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath

If nothing is reported then your visual studio installation is probably incorrect. The most likely issue is that the C++ package has not been properly installed

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