[vcpkg] msbuild: do not build vcpkgmetricsuploader when -disableMetrics
MODIFY
dirs.proj
dirs.proj
<ItemGroup>
<ProjectFile Include="vcpkglib\vcpkglib.vcxproj"/>
<ProjectFile Include="vcpkg\vcpkg.vcxproj"/>
- <ProjectFile Include="vcpkgmetricsuploader\vcpkgmetricsuploader.vcxproj"/>
+ <ProjectFile Include="vcpkgmetricsuploader\vcpkgmetricsuploader.vcxproj" Condition="'$(DISABLE_METRICS)'!='1'"/>
</ItemGroup>
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />

[vcpkg] msbuild: do not build vcpkgmetricsuploader when -disableMetrics (#11368)