Skip to content

Commit ab5e746

Browse files
authored
Clarify global.json paths feature limitations for SDK-only scenarios (#47624)
1 parent 56b8708 commit ab5e746

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/core/tools/global-json.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ Specifies the locations that should be considered when searching for a compatibl
9595

9696
These paths are searched in the order they're defined and the first [matching](#matching-rules) SDK is used.
9797

98+
> The "paths" feature only works when using commands that engage the .NET SDK, such as `dotnet run`. It does NOT affect scenarios such as running the native apphost launcher (`app.exe`), running with `dotnet app.dll`, or running with `dotnet exec app.dll`. To use the "paths" feature, you must use SDK commands like `dotnet run`.
99+
98100
#### errorMessage
99101

100102
- Type: `string`

0 commit comments

Comments
 (0)