Skip to content

Commit f5e49d4

Browse files
authored
Update how-to-use-environment-variables-in-a-build.md
1 parent 141c575 commit f5e49d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/msbuild/how-to-use-environment-variables-in-a-build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ When you build projects, it's often necessary to set build options using informa
1818

1919
## Reference environment variables
2020

21-
All environment variables that are valid MSBuild property names are available to the MSBuild project file as properties. Valid property names are described in [MSBuild properties](msbuild-properties.md). For example, environment variables that begin with a number are not available in MSBuild.
21+
All environment variables that are valid MSBuild property names are available to the MSBuild project file as properties. Valid property names are described in [MSBuild properties](msbuild-properties.md). For example, environment variables that begin with a number aren't available in MSBuild.
2222

2323
> [!NOTE]
2424
> If the project file contains an explicit definition of a property that has the same name as an environment variable, the property in the project file overrides the value of the environment variable.
@@ -33,7 +33,7 @@ When you build projects, it's often necessary to set build options using informa
3333

3434
#### To provide a default value for a property
3535

36-
- Use a `Condition` attribute on a property to set the value only if the property has no value. For example, the following code sets the `ToolsPath` property to *c:\tools* only if the `ToolsPath` environment variable is not set:
36+
- Use a `Condition` attribute on a property to set the value only if the property has no value. For example, the following code sets the `ToolsPath` property to *c:\tools* only if the `ToolsPath` environment variable isn't set:
3737

3838
`<ToolsPath Condition="'$(TOOLSPATH)' == ''">c:\tools</ToolsPath>`
3939

0 commit comments

Comments
 (0)