Skip to content

Commit 15b23b6

Browse files
committed
Clarify and fix formatting in MSBuild response files note
1 parent f206bae commit 15b23b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/msbuild/msbuild-response-files.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ In version 15.6 and later, MSBuild searches parent directories of the project fo
3131

3232
You can use the syntax `%MSBuildThisFileDirectory%` in a *Directory.Build.rsp* file, to refer to the directory that contains the *Directory.Build.rsp* file. This syntax requires percent signs on all operating systems, like [Environment.ExpandEnvironmentVariables](/dotnet/api/system.environment.expandenvironmentvariables), even though `MSBuildThisFileDirectory` isn't an environment variable.
3333

34-
> [!NOTE] Visual Studio (the IDE) **does not apply** `.rsp` response files—such as `MSBuild.rsp` or `Directory.Build.rsp`—when building within the IDE. These files are only processed when you run MSBuild via the **`msbuild.exe`** or **`dotnet build`** command‑line tools :contentReference[oaicite:2]{index=2}.
34+
> [!NOTE]
35+
> Visual Studio (the IDE) **does not apply** `.rsp` response files—such as `MSBuild.rsp` or `Directory.Build.rsp`—when building within the IDE. These files are only processed when you run MSBuild via the **`msbuild.exe`** or **`dotnet build`** command‑line tools :contentReference[oaicite:2]{index=2}.
3536
3637

3738
## Disabling response files
@@ -41,4 +42,4 @@ To disable automatically processing the default response files *MSBuild.rsp* and
4142
## See also
4243

4344
- [MSBuild reference](../msbuild/msbuild-reference.md)
44-
- [Command-line reference](../msbuild/msbuild-command-line-reference.md)
45+
- [Command-line reference](../msbuild/msbuild-command-line-reference.md)

0 commit comments

Comments
 (0)