Skip to content

Commit 145e0c1

Browse files
Update .NET CLI command reference minimum version to .NET 6 SDK (#49515)
* Update documentation to reflect .NET 6 SDK minimum version * Update docs/core/tools/dotnet-new.md Co-authored-by: Copilot <[email protected]> * fix grammatical error --------- Co-authored-by: Copilot <[email protected]>
1 parent e68566a commit 145e0c1

35 files changed

+76
-93
lines changed

docs/core/tools/dotnet-build-server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: dotnet build-server command
33
description: The dotnet build-server command interacts with servers started by a build.
4-
ms.date: 02/14/2020
4+
ms.date: 10/28/2025
55
---
66
# dotnet build-server
77

8-
**This article applies to:** ✔️ .NET Core 3.1 SDK and later versions
8+
**This article applies to:** ✔️ .NET 6 SDK and later versions
99

1010
## Name
1111

docs/core/tools/dotnet-environment-variables.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.date: 11/08/2023
66

77
# .NET environment variables
88

9-
**This article applies to:** ✔️ .NET Core 3.1 SDK and later versions
9+
**This article applies to:** ✔️ .NET 6 SDK and later versions
1010

1111
In this article, you'll learn about the environment variables used by .NET. Some environment variables are used by the .NET runtime, while others are only used by the .NET SDK and .NET CLI. Some environment variables are used by all three components.
1212

@@ -304,10 +304,6 @@ If set to `1` (enabled), enables rolling forward to a pre-release version from a
304304

305305
For more information, see [the `--roll-forward` option for the `dotnet` command](dotnet.md#rollforward).
306306

307-
### `DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX`
308-
309-
Disables minor version roll forward, if set to `0`. This setting is superseded in .NET Core 3.0 by `DOTNET_ROLL_FORWARD`. The new settings should be used instead.
310-
311307
### `DOTNET_CLI_FORCE_UTF8_ENCODING`
312308

313309
Forces the use of UTF-8 encoding in the console, even for older versions of Windows 10 that don't fully support UTF-8. For more information, see [SDK no longer changes console encoding when finished](../compatibility/sdk/8.0/console-encoding-fix.md).

docs/core/tools/dotnet-help.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: dotnet help command
33
description: The dotnet help command shows more detailed documentation online for the specified command.
4-
ms.date: 02/14/2020
4+
ms.date: 10/28/2025
55
---
66
# dotnet help reference
77

8-
**This article applies to:** ✔️ .NET Core 3.1 SDK and later versions
8+
**This article applies to:** ✔️ .NET 6 SDK and later versions
99

1010
## Name
1111

docs/core/tools/dotnet-new-list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: dotnet new list
33
description: The dotnet new list command lists available templates.
4-
ms.date: 04/29/2021
4+
ms.date: 10/28/2025
55
---
66
# dotnet new list
77

8-
**This article applies to:** ✔️ .NET Core 3.1 SDK and later versions
8+
**This article applies to:** ✔️ .NET 6 SDK and later versions
99

1010
## Name
1111

docs/core/tools/dotnet-new-sdk-templates.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Creates a *Directory.Build.targets* file for customizing MSBuild targets and tas
9191

9292
- **`-f|--framework <FRAMEWORK>`**
9393

94-
Specifies the [framework](../../standard/frameworks.md) to target. Available since .NET Core 3.0 SDK.
94+
Specifies the [framework](../../standard/frameworks.md) to target.
9595

9696
The following table lists the default values according to the SDK version you're using:
9797

@@ -413,7 +413,7 @@ The ability to create a project for an earlier TFM depends on having that versio
413413

414414
- **`-f|--framework <FRAMEWORK>`**
415415

416-
Specifies the [framework](../../standard/frameworks.md) to target. Option not available in .NET Core 2.2 SDK.
416+
Specifies the [framework](../../standard/frameworks.md) to target.
417417

418418
The following table lists the default values according to the SDK version number you're using:
419419

@@ -514,7 +514,7 @@ The ability to create a project for an earlier TFM depends on having that versio
514514

515515
- **`-f|--framework <FRAMEWORK>`**
516516

517-
Specifies the [framework](../../standard/frameworks.md) to target. Option available since .NET Core 3.0 SDK.
517+
Specifies the [framework](../../standard/frameworks.md) to target.
518518

519519
The following table lists the default values according to the SDK version number you're using:
520520

@@ -658,7 +658,7 @@ Creates a web API project with AOT publish enabled. For more information, see [N
658658

659659
- **`-f|--framework <FRAMEWORK>`**
660660

661-
Specifies the [framework](../../standard/frameworks.md) to target. Option not available in .NET Core 2.2 SDK.
661+
Specifies the [framework](../../standard/frameworks.md) to target.
662662

663663
The following table lists the default values according to the SDK version number you're using:
664664

@@ -765,7 +765,7 @@ The following table shows templates that have been discontinued and no longer co
765765

766766
- **`-uld|--use-local-db`**
767767

768-
Specifies LocalDB should be used instead of SQLite. Only applies to `Individual` or `IndividualB2C` authentication. Available since .NET Core 3.0 SDK.
768+
Specifies LocalDB should be used instead of SQLite. Only applies to `Individual` or `IndividualB2C` authentication.
769769

770770
- **`-f|--framework <FRAMEWORK>`**
771771

docs/core/tools/dotnet-new-search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: dotnet new search
33
description: The dotnet new search command searches for templates on NuGet.org.
4-
ms.date: 04/29/2021
4+
ms.date: 10/28/2025
55
---
66
# dotnet new search
77

8-
**This article applies to:** ✔️ .NET Core 5.0.300 SDK and later versions
8+
**This article applies to:** ✔️ .NET 6 SDK and later versions
99

1010
## Name
1111

docs/core/tools/dotnet-new-uninstall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.date: 04/29/2021
55
---
66
# dotnet new uninstall
77

8-
**This article applies to:** ✔️ .NET Core 3.1 SDK and later versions
8+
**This article applies to:** ✔️ .NET 6 SDK and later versions
99

1010
## Name
1111

docs/core/tools/dotnet-new-update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: dotnet new update
33
description: The dotnet new update command updates installed template packages.
4-
ms.date: 04/29/2021
4+
ms.date: 10/28/2025
55
---
66
# dotnet new update
77

8-
**This article applies to:** ✔️ .NET Core 3.1 SDK and later versions
8+
**This article applies to:** ✔️ .NET 6 SDK and later versions
99

1010
## Name
1111

docs/core/tools/dotnet-new.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title: dotnet new <TEMPLATE>
33
description: The dotnet new command creates new .NET projects based on the specified template.
44
no-loc: [Blazor, WebAssembly]
5-
ms.date: 02/15/2024
5+
ms.date: 10/28/2025
66
---
77
# dotnet new &lt;TEMPLATE&gt;
88

9-
**This article applies to:** ✔️ .NET Core 3.1 SDK and later versions
9+
**This article applies to:** ✔️ .NET 6 SDK and later versions
1010

1111
## Name
1212

@@ -49,20 +49,15 @@ To activate tab completion for the .NET SDK, see [Enable tab completion](enable-
4949

5050
You can run [`dotnet new list`](dotnet-new-list.md) to see a list of all installed templates.
5151

52-
Starting with .NET Core 3.0 SDK and ending with .NET SDK 5.0.300, the CLI searches for templates in NuGet.org when you invoke the `dotnet new` command in the following conditions:
53-
54-
- If the CLI can't find a template match when invoking `dotnet new`, not even partial.
55-
- If there's a newer version of the template available. In this case, the project or artifact is created but the CLI warns you about an updated version of the template.
56-
57-
Starting with .NET SDK 5.0.300, the [`search` command](dotnet-new-search.md) should be used to search for templates in NuGet.org.
52+
The [`search` command](dotnet-new-search.md) should be used to search for templates in NuGet.org.
5853

5954
For a list of templates that ship with the .NET SDK, see [Preinstalled templates](dotnet-new-sdk-templates.md#preinstalled-templates).
6055

6156
## Options
6257

6358
- **`--dry-run`**
6459

65-
Displays a summary of what would happen if the given command were run if it would result in a template creation. Available since .NET Core 2.2 SDK.
60+
Displays a summary of what would happen if the given command were run if it would result in a template creation.
6661

6762
- **`--force`**
6863

docs/core/tools/dotnet-nuget-add-source.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: dotnet nuget add source command
33
description: The dotnet nuget add source command adds a new package source to your NuGet configuration files.
4-
ms.date: 03/20/2020
4+
ms.date: 10/28/2025
55
---
66
# dotnet nuget add source
77

8-
**This article applies to:** ✔️ .NET Core 3.1.200 SDK and later versions
8+
**This article applies to:** ✔️ .NET 6 SDK and later versions
99

1010
## Name
1111

0 commit comments

Comments
 (0)