Skip to content

Commit 5896420

Browse files
authored
Make UndockedRegFreeWinRT use same vcpkg_installed directory (microsoft#5454)
When setting the path for the vcpkg installed directory in the shared props file, we were using `$(ProjectDir)\..\`. This works fine for most projects because they are one level under the `src` directory, but `UndockedRegFreeWinRT` is deeper in the tree so it would end up having its own separata vcpkg_installed directory. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5454)
1 parent d16646c commit 5896420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vcpkg.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Vcpkg">
44
<VcpkgEnableManifest>true</VcpkgEnableManifest>
5-
<VcpkgInstalledDir>$(ProjectDir)..\vcpkg_installed</VcpkgInstalledDir>
5+
<VcpkgInstalledDir>$(MSBuildThisFileDirectory)\vcpkg_installed</VcpkgInstalledDir>
66
</PropertyGroup>
77
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
88
<VcpkgTriplet>x64</VcpkgTriplet>

0 commit comments

Comments
 (0)