diff --git a/vcpkg/users/buildsystems/msbuild-integration.md b/vcpkg/users/buildsystems/msbuild-integration.md index 4e69ae2c..c8693831 100644 --- a/vcpkg/users/buildsystems/msbuild-integration.md +++ b/vcpkg/users/buildsystems/msbuild-integration.md @@ -208,6 +208,15 @@ This property defines the location vcpkg will install and consume libraries from In manifest mode, this defaults to `$(VcpkgManifestRoot)\vcpkg_installed\$(VcpkgTriplet)\`. In classic mode, this defaults to `$(VcpkgRoot)\installed\`. +Use [`VcpkgInstalledDirRoot`](#vcpkginstalleddirroot) to change the default location in manifest mode. + +### `VcpkgInstalledDirRoot` (Installed Directory Root) + +This property defines the installation directory for libraries when using manifest mode. +Subdirectories are created as needed for each triplet. This property is ignored when `VcpkgInstalledDir` is explicitly defined. + +The installed directory is derived as `$(VcpkgInstalledDirRoot)\$(VcpkgTriplet)`. `VcpkgInstalledDirRoot` +defaults to `$(VcpkgManifestRoot)\vcpkg_installed\`. ### `VcpkgApplocalDeps` (App-locally deploy DLLs) @@ -235,6 +244,7 @@ reload the IDE to see the vcpkg Property Page. vcpkg will run during your project's build and install any listed dependencies to `vcpkg_installed/$(VcpkgTriplet)/` adjacent to the `vcpkg.json` file; these libraries will then automatically be included in and linked to your MSBuild projects. +You can use the [`VcpkgInstalledDirRoot`](#vcpkginstalleddirroot) property to change this directory. ### Known issues