Skip to content

Commit fb47955

Browse files
authored
Update global.json example SDK version to 10.0.100 (#50065)
Bump some version numbers to make these docs feel more up-to-date. Minor terminology change (ancestor vs. parent)
1 parent ccd47f0 commit fb47955

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/core/tools/global-json.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ ai-usage: ai-assisted
1212

1313
The *global.json* file allows you to define which .NET SDK version is used when you run .NET CLI commands. Selecting the .NET SDK version is independent from specifying the runtime version a project targets. The .NET SDK version indicates which version of the .NET CLI is used. This article explains how to select the SDK version by using *global.json*.
1414

15-
If you always want to use the latest SDK version that is installed on your machine, no *global.json* file is needed. In CI (continuous integration) scenarios, however, you typically want to specify an acceptable range for the SDK version that is used. The *global.json* file has a `rollForward` feature that provides flexible ways to specify an acceptable range of versions. For example, the following *global.json* file selects 8.0.300 or any later [feature band or patch](../releases-and-support.md) for 8.0 that is installed on the machine:
15+
If you always want to use the latest SDK version that is installed on your machine, no *global.json* file is needed. In CI (continuous integration) scenarios, however, you typically want to specify an acceptable range for the SDK version that is used. The *global.json* file has a `rollForward` feature that provides flexible ways to specify an acceptable range of versions. For example, the following *global.json* file selects 10.0.100 or any later [feature band or patch](../releases-and-support.md) for 10.0 that is installed on the machine:
1616

1717
```json
1818
{
1919
"sdk": {
20-
"version": "8.0.300",
20+
"version": "10.0.100",
2121
"rollForward": "latestFeature"
2222
}
2323
}
2424
```
2525

26-
The .NET SDK looks for a *global.json* file in the current working directory (which isn't necessarily the same as the project directory) or one of its parent directories.
26+
The .NET SDK looks for a *global.json* file in the current working directory (which isn't necessarily the same as the project directory) or one of its ancestor directories.
2727

2828
For information about specifying the runtime version instead of the SDK version, see [Target frameworks](../../standard/frameworks.md).
2929

@@ -43,8 +43,8 @@ The version of the .NET SDK to use.
4343

4444
This field:
4545

46-
- Requires the full version number, such as 9.0.100.
47-
- Doesn't support version numbers like 9, 9.0, or 9.0.x.
46+
- Requires the full version number, such as 10.0.100.
47+
- Doesn't support version numbers like 10, 10.0, or 10.0.x.
4848
- Doesn't have wildcard support.
4949
- Doesn't support version ranges.
5050

0 commit comments

Comments
 (0)