-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
vcpkg install fails, if only VS BuildTools is installed, not full Visual Studio #43156
Comments
@oleg-boulanov Please try the solutions in #32857 (comment). |
@Mengna-Li Thank you for providing a link to possible workaround. P.S. Adding Microsoft.VisualStudio.ComponentGroup.VC.Tools.142.x86.x64 did not fix the problem, vcpkg install still fails with the same error |
Build after installing all optional components:
goes further, but also fails:
|
@oleg-boulanov Please provide the failure log, thanks. |
@Mengna-Li Unfortunately, I have no means of copying these logs from the container the build runs on. Can we make a feature request to fix vcpkg-tool code to work with VS BuildTools only? This is rather typical scenario in a corporate setup, with build agents not having full Visual Studio installed. |
vcpkg install fails, if only VS BuildTools is installed, not full Visual Studio
Environment
Failure log
Root cause
Here: https://github.com/microsoft/vcpkg-tool/blob/f3515102d0ff5f10a13c26ee8d6f2f1c2841e745/src/vcpkg/visualstudio.cpp?plain=1#L138
The text was updated successfully, but these errors were encountered: