[vcpkg] Rename the msbuild property VcpkgRoot to VcpkgCurrentInstalledDir, and set VcpkgRoot to the expected root instead.
MODIFY
src/vcpkg/export.cpp
src/vcpkg/export.cpp
@@ -61,9 +61,6 @@ namespace vcpkg::Export
{
return Strings::format(R"###(
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <VcpkgRoot></VcpkgRoot>
- </PropertyGroup>
<Import Condition="Exists('%s')" Project="%s" />
</Project>
)###",

[vcpkg] Rename the msbuild property VcpkgRoot to VcpkgCurrentInstalledDir, and set VcpkgRoot to the expected root instead. (#11653)