Skip to content

[vcpkg-tool] vcpkg-tool/main fails due to missing vcpkg-tools.json in vcpkg/master #43086

@StarGate-One

Description

@StarGate-One

Describe the bug
A clear and concise description of what the bug is.
After latest commit Change tool metadata file format to JSON 1553 vcpkg errors out when attempting to install packages.

Environment

  • OS: [e.g. Windows/Linux etc...]
    Windows Version [10.0.22631.4602]
  • Compiler: revision
    Visual Studio Community 2022 Version: [17.12.3] VS Tools Version: [14.40.33807]
    Microsoft (R) C/C++ Optimizing Compiler Version [19.40.33817] for x64

To Reproduce
Steps to reproduce the behavior:
Using classic vcpkg mode.

  1. ./vcpkg install [choose any port] --classic ...
  2. See error Repro code when error: try_read_contents("D:\vcpkg\scripts\vcpkg-tools.json"): no such file or directory

Expected behavior
A clear and concise description of what you expected to happen.
Where do I get or can I create the vcpkg-tools.json file?

Failure logs
-(please attached failure logs)
No logs produced

Additional context
Add any other context about the problem here.
Note: I download the vcpkg-tool source and do a local compile.

/cc: @BillyONeal @vicroms @JavierMatosD

Metadata

Metadata

Assignees

Labels

requires:tool-releaseAn issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions