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

Why to setup vcpkg if its included in VS 2022? #231

Open
kyxap opened this issue Dec 22, 2023 · 2 comments
Open

Why to setup vcpkg if its included in VS 2022? #231

kyxap opened this issue Dec 22, 2023 · 2 comments
Assignees

Comments

@kyxap
Copy link

kyxap commented Dec 22, 2023

Hey there,

This is confusing for person who do not have a lot of experience with cpp + vs.

Page:
https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-vs?pivots=shell-cmd#1---set-up-vcpkg

It took my a while to understand that:

  • There no need to pull vcpkg since now its comes with VS (yay package manager for cpp in 2023, sorta).
  • And if you do you will get warnings and errors - because VS using UI config path which is not mentioned here at all and
  • For some reason we trying set custom vcpkg path in CMD which will be ignored when you try to build the project from VS ui.

This need to updated to by in sync with current dev of vcpkg integration


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@vicroms
Copy link
Member

vicroms commented Feb 11, 2024

There are some reasons to use a standalone vcpkg. For one, classic mode is not supported by the VS copy of vcpkg (since the install location must remain immutable). I'll add an explanation to existing articles to clarify.

@vicroms vicroms self-assigned this Feb 27, 2024
@vicroms
Copy link
Member

vicroms commented Feb 27, 2024

Related to #251

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