Implicit knowledge of listing all packages in a private registry. why? #40285
Replies: 1 comment 1 reply
-
The The vcpkg.json file lists dependencies for a particular project. Therefore, it is there where you would only specify beicode. You do not need to specify transitive dependencies (unless you want to modify how they are installed by default) or dependencies you do not need at all for your project. When you are creating your own registry and also are working on a particular project with dependencies, you need to define both the full set of packages that should be available as well as the particular packages you want for your specific project. |
Beta Was this translation helpful? Give feedback.
-
I have a private registry like this tutorial says:
https://learn.microsoft.com/en-us/vcpkg/consume/git-registries
so assuming the registry has two packages: beicode and beison. And my project only need the dependency of beicode. So naturally, i only include beicode in the
vpckg-configuration.json
file. But then vcpkg complains baseline does not containbeison
.Then i know, i have to include ALL packages in
vpckg-configuration.json
which my private registry provides. But why design it this way?firstly the document does not say excplicitly I need to list ALL packages.
secondly, if my private packages have 100 packages, then i need to list all 100 packages?
thirdly, the error message is also not telling what exactly the problem is.
Beta Was this translation helpful? Give feedback.
All reactions