Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-build-server.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet build-server command
description: The dotnet build-server command interacts with servers started by a build.
ms.date: 02/14/2020
ms.date: 10/28/2025
---
# dotnet build-server

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

## Name

Expand Down
6 changes: 1 addition & 5 deletions docs/core/tools/dotnet-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.date: 11/08/2023

# .NET environment variables

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

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.

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

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

### `DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX`

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.

### `DOTNET_CLI_FORCE_UTF8_ENCODING`

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).
Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-help.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet help command
description: The dotnet help command shows more detailed documentation online for the specified command.
ms.date: 02/14/2020
ms.date: 10/28/2025
---
# dotnet help reference

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-new-list.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet new list
description: The dotnet new list command lists available templates.
ms.date: 04/29/2021
ms.date: 10/28/2025
---
# dotnet new list

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

## Name

Expand Down
10 changes: 5 additions & 5 deletions docs/core/tools/dotnet-new-sdk-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Creates a *Directory.Build.targets* file for customizing MSBuild targets and tas

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-new-search.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet new search
description: The dotnet new search command searches for templates on NuGet.org.
ms.date: 04/29/2021
ms.date: 10/28/2025
---
# dotnet new search

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

## Name

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-new-uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ms.date: 04/29/2021
---
# dotnet new uninstall

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-new-update.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet new update
description: The dotnet new update command updates installed template packages.
ms.date: 04/29/2021
ms.date: 10/28/2025
---
# dotnet new update

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

## Name

Expand Down
13 changes: 4 additions & 9 deletions docs/core/tools/dotnet-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
title: dotnet new <TEMPLATE>
description: The dotnet new command creates new .NET projects based on the specified template.
no-loc: [Blazor, WebAssembly]
ms.date: 02/15/2024
ms.date: 10/28/2025
---
# dotnet new &lt;TEMPLATE&gt;

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

## Name

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

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

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:

- If the CLI can't find a template match when invoking `dotnet new`, not even partial.
- 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.

Starting with .NET SDK 5.0.300, the [`search` command](dotnet-new-search.md) should be used to search for templates in NuGet.org.
The [`search` command](dotnet-new-search.md) should be used to search for templates in NuGet.org.

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

## Options

- **`--dry-run`**

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.
Displays a summary of what would happen if the given command were run if it would result in a template creation.

- **`--force`**

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-add-source.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet nuget add source command
description: The dotnet nuget add source command adds a new package source to your NuGet configuration files.
ms.date: 03/20/2020
ms.date: 10/28/2025
---
# dotnet nuget add source

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
title: dotnet nuget delete command
description: The dotnet-nuget-delete command deletes or unlists a package from the server.
author: karann-msft
ms.date: 03/21/2023
ms.date: 10/28/2025
---
# dotnet nuget delete

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-disable-source.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet nuget disable source command
description: The dotnet nuget disable source command disables an existing source in your NuGet configuration files.
ms.date: 03/20/2020
ms.date: 10/28/2025
---
# dotnet nuget disable source

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-enable-source.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet nuget enable source command
description: The dotnet nuget enable source command enables an existing source in your NuGet configuration files.
ms.date: 03/20/2020
ms.date: 10/28/2025
---
# dotnet nuget enable source

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-list-source.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet nuget list source command
description: The dotnet nuget list source command lists all existing sources from your NuGet configuration files.
ms.date: 03/20/2020
ms.date: 10/28/2025
---
# dotnet nuget list source

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-locals.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
title: dotnet nuget locals command
description: The dotnet nuget locals command clears or lists local NuGet resources such as http-request cache, temporary cache, or machine-wide global packages folder.
author: karann-msft
ms.date: 02/14/2020
ms.date: 10/28/2025
---
# dotnet nuget locals

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

## Name

Expand Down
12 changes: 2 additions & 10 deletions docs/core/tools/dotnet-nuget-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
title: dotnet nuget push command
description: The dotnet nuget push command pushes a package to the server and publishes it.
author: karann-msft
ms.date: 02/14/2020
ms.date: 10/28/2025
---
# dotnet nuget push

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

## Name

Expand Down Expand Up @@ -147,14 +147,6 @@ Alternatively, use the NuGet CLI for the first package, then you can use `dotnet
dotnet nuget push "*.nupkg"
```

> [!NOTE]
> If this command doesn't work, it might be due to a bug that existed in older versions of the SDK (.NET Core 2.1 SDK and earlier versions).
> To fix this, upgrade your SDK version or run the following command instead:
> `dotnet nuget push "**/*.nupkg"`

> [!NOTE]
> The enclosing quotes are required for shells such as bash that perform file globbing. For more information, see [NuGet/Home#4393](https://github.com/NuGet/Home/issues/4393#issuecomment-667618120).

- Push all *.nupkg* files to the default push source specified in the NuGet config file, even if a 409 Conflict response is returned by an HTTP(S) server:

```dotnetcli
Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-remove-source.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet nuget remove source command
description: The dotnet nuget remove source command removes an existing source from your NuGet configuration files.
ms.date: 03/20/2020
ms.date: 10/28/2025
---
# dotnet nuget remove source

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-trust.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
title: dotnet nuget trust command
description: The dotnet nuget trust command gets or sets trusted signers to the NuGet configuration.
author: erdembayar
ms.date: 06/02/2021
ms.date: 10/28/2025
---
# dotnet nuget trust

**This article applies to:** ✔️ .NET 5.0.300 SDK and later versions
**This article applies to:** ✔️ .NET 6 SDK and later versions

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-update-source.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet nuget update source command
description: The dotnet nuget update source command updates an existing source in your NuGet configuration files.
ms.date: 03/20/2020
ms.date: 10/28/2025
---
# dotnet nuget update source

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

## Name

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
title: dotnet nuget verify command
description: The dotnet nuget verify command verifies a signed package.
author: kartheekp-ms
ms.date: 10/08/2020
ms.date: 10/28/2025
---
# dotnet nuget verify

**This article applies to:** ✔️ .NET 5.0.100-rc.2.x SDK and later versions
**This article applies to:** ✔️ .NET 6 SDK and later versions

## Name

Expand Down
6 changes: 3 additions & 3 deletions docs/core/tools/dotnet-package-add.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet package add command
description: The 'dotnet package add' command provides a convenient option to add a NuGet package reference to a project.
ms.date: 04/02/2025
ms.date: 10/28/2025
---
# dotnet package add

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

## Name

Expand Down Expand Up @@ -156,7 +156,7 @@ Scenario 4: `<PackageReference>` does not exist in the project file, `<PackageVe

- **`--prerelease`**

Allows prerelease packages to be installed. Available since .NET Core 5 SDK
Allows prerelease packages to be installed.

- **`-s|--source <SOURCE>`**

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-package-list.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: dotnet package list command
description: The 'dotnet package list' command provides a convenient option to list the package references for a project or solution.
ms.date: 04/02/2025
ms.date: 10/28/2025
---
# dotnet package list

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

## Name

Expand Down
Loading