Build path throuh fs::path APIs instead of Strings::format()
MODIFY
src/vcpkg_Environment.cpp
src/vcpkg_Environment.cpp
@@ -127,7 +127,7 @@ namespace vcpkg::Environment
for (const fs::path& subdir : msvc_subdirectories)
{
- const fs::path dumpbin_path = Strings::format(R"(%s\bin\HostX86\x86\dumpbin.exe)", subdir.generic_string());
+ const fs::path dumpbin_path = subdir / "bin" / "HostX86" / "x86" / "dumpbin.exe";
paths_examined.push_back(dumpbin_path);
if (fs::exists(dumpbin_path))
{

Build path throuh fs::path APIs instead of Strings::format()