Skip to content

Commit 62cfd58

Browse files
authored
Add link to recommended MSBuild Properties
.`runsettings` File paths can be specified with an MSBuild property, but only the ones mentioned in the linked doc work in all cases.
1 parent 8040e47 commit 62cfd58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/test/configure-unit-tests-by-using-a-dot-runsettings-file.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ The file appears on the Test menu, and you can select or deselect it. While sele
4444

4545
There are three ways of specifying a run settings file in Visual Studio 2019 version 16.4 and later:
4646

47-
- Add a build property to a project through either the project file or a Directory.Build.props file. The run settings file for a project is specified by the property **RunSettingsFilePath**.
47+
- Add a build property to a project through either the project file or a Directory.Build.props file. The run settings file for a project is specified by the property **RunSettingsFilePath**.
4848

4949
- Project-level run settings is currently supported in C#, VB, C++, and F# projects.
5050
- A file specified for a project overrides any other run settings file specified in the solution.
51+
- [These MSBuild properties](https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-reserved-and-well-known-properties?view=vs-2019) can be used to specify the path to the runsettings file.
5152

5253
Example of specifying a *.runsettings* file for a project:
5354

0 commit comments

Comments
 (0)