aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/users/manifests.md18
1 files changed, 15 insertions, 3 deletions
diff --git a/docs/users/manifests.md b/docs/users/manifests.md
index ae0ee7eed..0018ff375 100644
--- a/docs/users/manifests.md
+++ b/docs/users/manifests.md
@@ -441,7 +441,7 @@ See the `--feature-flags=` command line option for more information.
## MSBuild Integration
To use manifests with MSBuild, first you need to use an [existing integration method](integration.md#with-msbuild).
-Then, simply add a vcpkg.json above your project file (such as in the root of your source repository) and set the
+Then, add a vcpkg.json above your project file (such as in the root of your source repository) and set the
property `VcpkgEnableManifest` to `true`. You can set this property via the IDE in `Project Properties -> Vcpkg -> Use
Vcpkg Manifest`.
@@ -453,9 +453,21 @@ Note: It is critical that all project files in a single build consuming the same
you need to use different triplets for different projects in your solution, they must consume from different
`vcpkg.json` files.
+### Known issues
+
+* Visual Studio 2015 does not correctly track edits to the `vcpkg.json` and `vcpkg-configuration.json` files, and will
+not respond to changes unless a `.cpp` is edited.
+
### MSBuild Properties
-These properties can be defined via the VS GUI under `Project Properties -> Vcpkg` or via a common `.props` file.
+When using Visual Studio 2015 integration, these properties can be set in your project file before the
+
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+
+line, which unfortunately requires manual editing of the `.vcxproj` or passing on the msbuild command line with `/p:`.
+With 2017 or later integration, These properties can additionally be set via the Visual Studio GUI under
+`Project Properties -> Vcpkg` or via a common `.props` file imported between `Microsoft.Cpp.props` and
+`Microsoft.Cpp.targets`.
#### `VcpkgEnabled` (Use Vcpkg)
@@ -495,7 +507,7 @@ vcpkg.json files will be ignored. This will default to true in the future.
This property can be set to "false" to disable automatic dependency restoration on project build. Dependencies can be
manually restored via the vcpkg command line.
-#### `VcpkgInstalledDirectory` (Installed Directory)
+#### `VcpkgInstalledDir` (Installed Directory)
This property defines the location where headers and binaries are consumed from. In manifest mode, this directory is
created and populated based on your manifest.