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
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-build-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dotnet build-server -h|--help

## Options

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

- **`--msbuild`**

Expand Down
24 changes: 12 additions & 12 deletions docs/core/tools/dotnet-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ Running `dotnet build` is equivalent to running `dotnet msbuild -restore`; howev

## Options

[!INCLUDE [arch](../../../includes/cli-arch.md)]
- [!INCLUDE [arch](../../../includes/cli-arch.md)]

[!INCLUDE [artifacts-path](../../../includes/cli-artifacts-path.md)]
- [!INCLUDE [artifacts-path](../../../includes/cli-artifacts-path.md)]

[!INCLUDE [configuration](../../../includes/cli-configuration.md)]
- [!INCLUDE [configuration](../../../includes/cli-configuration.md)]

[!INCLUDE [disable-build-servers](../../../includes/cli-disable-build-servers.md)]
- [!INCLUDE [disable-build-servers](../../../includes/cli-disable-build-servers.md)]

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

Expand All @@ -93,7 +93,7 @@ Running `dotnet build` is equivalent to running `dotnet msbuild -restore`; howev

Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the *project.assets.json* file.

[!INCLUDE [interactive](../../../includes/cli-interactive-3-0.md)]
- [!INCLUDE [interactive](../../../includes/cli-interactive.md)]

- **`--no-dependencies`**

Expand All @@ -111,7 +111,7 @@ Running `dotnet build` is equivalent to running `dotnet msbuild -restore`; howev

Doesn't display the startup banner or the copyright message.

[!INCLUDE [no-self-contained](../../../includes/cli-no-self-contained.md)]
- [!INCLUDE [no-self-contained](../../../includes/cli-no-self-contained.md)]

- **`-o|--output <OUTPUT_DIRECTORY>`**

Expand All @@ -121,7 +121,7 @@ Running `dotnet build` is equivalent to running `dotnet msbuild -restore`; howev

If you specify the `--output` option when running this command on a solution, the CLI will emit a warning (an error in 7.0.200) due to the unclear semantics of the output path. The `--output` option is disallowed because all outputs of all built projects would be copied into the specified directory, which isn't compatible with multi-targeted projects, as well as projects that have different versions of direct and transitive dependencies. For more information, see [Solution-level `--output` option no longer valid for build-related commands](../compatibility/sdk/7.0/solution-level-output-no-longer-valid.md).

[!INCLUDE [os](../../../includes/cli-os.md)]
- [!INCLUDE [os](../../../includes/cli-os.md)]

- **`-p|--property:<PROPERTYNAME>=<VALUE>`**

Expand All @@ -136,23 +136,23 @@ Running `dotnet build` is equivalent to running `dotnet msbuild -restore`; howev

Specifies the target runtime. For a list of Runtime Identifiers (RIDs), see the [RID catalog](../rid-catalog.md). If you use this option with .NET 6 SDK, use `--self-contained` or `--no-self-contained` also. If not specified, the default is to build for the current OS and architecture.

[!INCLUDE [self-contained](../../../includes/cli-self-contained.md)]
- [!INCLUDE [self-contained](../../../includes/cli-self-contained.md)]

- **`--source <SOURCE>`**

The URI of the NuGet package source to use during the restore operation.

[!INCLUDE [tl](../../../includes/cli-tl.md)]
- [!INCLUDE [tl](../../../includes/cli-tl.md)]

[!INCLUDE [use-current-runtime](../../../includes/cli-use-current-runtime.md)]
- [!INCLUDE [use-current-runtime](../../../includes/cli-use-current-runtime.md)]

[!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]
- [!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]

- **`--version-suffix <VERSION_SUFFIX>`**

Sets the value of the `$(VersionSuffix)` property to use when building the project. This only works if the `$(Version)` property isn't set. Then, `$(Version)` is set to the `$(VersionPrefix)` combined with the `$(VersionSuffix)`, separated by a dash.

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

## Examples

Expand Down
12 changes: 6 additions & 6 deletions docs/core/tools/dotnet-clean.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ The `dotnet clean` command cleans the output of the previous build. It's impleme

## Options

[!INCLUDE [artifacts-path](../../../includes/cli-artifacts-path.md)]
- [!INCLUDE [artifacts-path](../../../includes/cli-artifacts-path.md)]

[!INCLUDE [configuration](../../../includes/cli-configuration-clean.md)]
- [!INCLUDE [configuration](../../../includes/cli-configuration-clean.md)]

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

The [framework](../../standard/frameworks.md) that was specified at build time. The framework must be defined in the [project file](../project-sdk/overview.md). If you specified the framework at build time, you must specify the framework when cleaning.

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

[!INCLUDE [interactive](../../../includes/cli-interactive-3-0.md)]
- [!INCLUDE [interactive](../../../includes/cli-interactive.md)]

- **`--nologo`**

Expand All @@ -62,9 +62,9 @@ The `dotnet clean` command cleans the output of the previous build. It's impleme

Cleans the output folder of the specified runtime. This is used when a [self-contained deployment](../deploying/index.md#self-contained-deployment) was created.

[!INCLUDE [tl](../../../includes/cli-tl.md)]
- [!INCLUDE [tl](../../../includes/cli-tl.md)]

[!INCLUDE [verbosity](../../../includes/cli-verbosity-normal.md)]
- [!INCLUDE [verbosity](../../../includes/cli-verbosity-normal.md)]

## Examples

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ None of the options below are required for the `dotnet format` command to succee

Displays version information.

[!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]
- [!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

## Subcommands

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The `dotnet help` command opens up the reference page for more detailed informat

## Options

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

## Examples

Expand Down
6 changes: 2 additions & 4 deletions docs/core/tools/dotnet-new-details.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@ If the package is installed locally or is found on the official NuGet website, i
By default, `dotnet new details` uses the hierarchy of NuGet configuration files from the current directory to determine the NuGet source the package can be installed from. If `--nuget-source` is specified, the source is added to the list of sources to be checked.
To check the configured sources for the current directory use [`dotnet nuget list source`](dotnet-nuget-list-source.md). For more information, see [Common NuGet Configurations](/nuget/consume-packages/configuring-nuget-behavior).

[!INCLUDE [interactive](../../../includes/cli-interactive.md)]
- [!INCLUDE [interactive](../../../includes/cli-interactive.md)]

- **`-d|--diagnostics`**

Enables diagnostic output.

- **`-h|--help`**

Displays help for the search command.
- [!INCLUDE [help](../../../includes/cli-help.md)]

## Examples

Expand Down
10 changes: 3 additions & 7 deletions docs/core/tools/dotnet-new-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,11 @@ Starting with .NET SDK 6.0.100, installed template packages are available in lat

Allows installing template packages from the specified sources even if they would override a template package from another source. Available since .NET SDK 7.0.100.

- **`-h|--help`**
- [!INCLUDE [help](../../../includes/cli-help.md)]

Prints out help for the install command. Available since .NET SDK 7.0.100.
- [!INCLUDE [interactive](../../../includes/cli-interactive.md)]

[!INCLUDE [interactive](../../../includes/cli-interactive-5-0.md)]

- **`-v|--verbosity <LEVEL>`**

Sets the verbosity level of the command. Allowed values are `q[uiet]`, `m[inimal]`, `n[ormal]`, and `diag[nostic]`. Available since .NET SDK 7.0.100.
- [!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]

## Examples

Expand Down
8 changes: 2 additions & 6 deletions docs/core/tools/dotnet-new-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ Starting with .NET SDK 7.0.100, the `list` command might not show all the templa

Enables diagnostic output. Available since .NET SDK 7.0.100.

- **`-h|--help`**

Prints out help for the list command. Available since .NET SDK 7.0.100.
- [!INCLUDE [help](../../../includes/cli-help.md)]

- **`--ignore-constraints`**

Expand Down Expand Up @@ -106,9 +104,7 @@ Starting with .NET SDK 7.0.100, the `list` command might not show all the templa

Filters templates based on template type. Predefined values are `project`, `item`, and `solution`.

- **`-v|--verbosity <LEVEL>`**

Sets the verbosity level of the command. Allowed values are `q[uiet]`, `m[inimal]`, `n[ormal]`, and `diag[nostic]`. Available since .NET SDK 7.0.100.
- [!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]

## Examples

Expand Down
4 changes: 1 addition & 3 deletions docs/core/tools/dotnet-new-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ The `dotnet new search` command searches for templates supported by `dotnet new`
Enables diagnostic output. Available since .NET SDK 7.0.100.
- **`-h|--help`**
Prints out help for the search command. Available since .NET SDK 7.0.100.
- [!INCLUDE [help](../../../includes/cli-help.md)]
- **`-lang|--language <language>`**
Expand Down
8 changes: 2 additions & 6 deletions docs/core/tools/dotnet-new-uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,9 @@ The `dotnet new uninstall` command uninstalls a template package at the `PATH` o

Enables diagnostic output. Available since .NET SDK 7.0.100.

- **`-h|--help`**
- [!INCLUDE [help](../../../includes/cli-help.md)]

Prints out help for the uninstall command. Available since .NET SDK 7.0.100.

- **`-v|--verbosity <LEVEL>`**

Sets the verbosity level of the command. Allowed values are `q[uiet]`, `m[inimal]`, `n[ormal]`, and `diag[nostic]`. Available since .NET SDK 7.0.100.
- [!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]

## Examples

Expand Down
10 changes: 3 additions & 7 deletions docs/core/tools/dotnet-new-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The `dotnet new update` command with `--check-only` option checks for available

## Options

[!INCLUDE [interactive](../../../includes/cli-interactive-5-0.md)]
- [!INCLUDE [interactive](../../../includes/cli-interactive.md)]

- **`--add-source|nuget-source <SOURCE>`**

Expand All @@ -62,13 +62,9 @@ The `dotnet new update` command with `--check-only` option checks for available

Enables diagnostic output. Available since .NET SDK 7.0.100.

- **`-h|--help`**
- [!INCLUDE [help](../../../includes/cli-help.md)]

Prints out help for the update command. Available since .NET SDK 7.0.100.

- **`-v|--verbosity <LEVEL>`**

Sets the verbosity level of the command. Allowed values are `q[uiet]`, `m[inimal]`, `n[ormal]`, and `diag[nostic]`. Available since .NET SDK 7.0.100.
- [!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]

## Examples

Expand Down
8 changes: 2 additions & 6 deletions docs/core/tools/dotnet-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ To activate tab completion for the .NET SDK, see [Enable tab completion](enable-

Forces content to be generated even if it would change existing files. This is required when the template chosen would override existing files in the output directory.

- **`-?|-h|--help`**

Prints out help for the command. It can be invoked for the `dotnet new` command itself or for any template. For example, `dotnet new mvc --help`.
- [!INCLUDE [help](../../../includes/cli-help.md)]

- **`-lang|--language {C#|F#|VB}`**

Expand Down Expand Up @@ -100,9 +98,7 @@ To activate tab completion for the .NET SDK, see [Enable tab completion](enable-

Enables diagnostic output. Available since .NET SDK 7.0.100.

- **`-v|--verbosity <LEVEL>`**

Sets the verbosity level of the command. Allowed values are `q[uiet]`, `m[inimal]`, `n[ormal]`, and `diag[nostic]`. Available since .NET SDK 7.0.100.
- [!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]

## Template options

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-nuget-add-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The `dotnet nuget add source` command adds a new package source to your NuGet co

## Options

[!INCLUDE [configfile](../../../includes/cli-configfile.md)]
- [!INCLUDE [configfile](../../../includes/cli-configfile.md)]

- **`--allow-insecure-connections`**

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-nuget-config-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The `dotnet nuget config get` Gets the NuGet configuration settings that will be

Specifies the directory to start from when listing configuration files. If not specified, the current directory is used.

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-nuget-config-paths.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The `dotnet nuget config paths` Lists the paths to all NuGet configuration files

Specifies the directory to start from when listing configuration files. If not specified, the current directory is used.

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

## Examples

Expand Down
6 changes: 2 additions & 4 deletions docs/core/tools/dotnet-nuget-config-set.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ The `dotnet nuget config set` sets the values for NuGet configuration settings t

## Options

- **`--configfile <FILE>`**
- [!INCLUDE [configfile](../../../includes/cli-configfile.md)]

The NuGet configuration file (*nuget.config*) to use. If specified, only the settings from this file will be used. If not specified, the hierarchy of configuration files from the current directory will be used. For more information, see [Common NuGet Configurations](/nuget/consume-packages/configuring-nuget-behavior).

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

## Examples

Expand Down
6 changes: 2 additions & 4 deletions docs/core/tools/dotnet-nuget-config-unset.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ The `dotnet nuget config unset` unsets the values for NuGet configuration settin

## Options

- **`--configfile <FILE>`**
- [!INCLUDE [configfile](../../../includes/cli-configfile.md)]

The NuGet configuration file (*nuget.config*) to use. If specified, only the settings from this file will be used. If not specified, the hierarchy of configuration files from the current directory will be used. For more information, see [Common NuGet Configurations](/nuget/consume-packages/configuring-nuget-behavior).

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

## Examples

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 @@ -42,9 +42,9 @@ The `dotnet nuget delete` command deletes or unlists a package from the server.

Forces the application to run using an invariant, English-based culture.

[!INCLUDE [help](../../../includes/cli-help.md)]
* [!INCLUDE [help](../../../includes/cli-help.md)]

[!INCLUDE [interactive](../../../includes/cli-interactive-3-0.md)]
* [!INCLUDE [interactive](../../../includes/cli-interactive.md)]

* **`-k|--api-key <API_KEY>`**

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-nuget-disable-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `dotnet nuget disable source` command disables an existing source in your Nu

## Options

[!INCLUDE [configfile](../../../includes/cli-configfile.md)]
- [!INCLUDE [configfile](../../../includes/cli-configfile.md)]

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-nuget-enable-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `dotnet nuget enable source` command enables an existing source in your NuGe

## Options

[!INCLUDE [configfile](../../../includes/cli-configfile.md)]
- [!INCLUDE [configfile](../../../includes/cli-configfile.md)]

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-nuget-list-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The `dotnet nuget list source` command lists all existing sources from your NuGe

## Options

[!INCLUDE [configfile](../../../includes/cli-configfile.md)]
- [!INCLUDE [configfile](../../../includes/cli-configfile.md)]

- **`--format [Detailed|Short]`**

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-nuget-locals.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The `dotnet nuget locals` command clears or lists local NuGet resources in the h

Forces the application to run using an invariant, English-based culture.

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

- **`-c|--clear`**

Expand Down
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-nuget-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ Alternatively, use the NuGet CLI for the first package, then you can use `dotnet

Forces the application to run using an invariant, English-based culture.

[!INCLUDE [help](../../../includes/cli-help.md)]
- [!INCLUDE [help](../../../includes/cli-help.md)]

[!INCLUDE [interactive](../../../includes/cli-interactive-3-0.md)]
- [!INCLUDE [interactive](../../../includes/cli-interactive.md)]

- **`-k|--api-key <API_KEY>`**

Expand Down
2 changes: 1 addition & 1 deletion docs/core/tools/dotnet-nuget-remove-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `dotnet nuget remove source` command removes an existing source from your Nu

## Options

[!INCLUDE [configfile](../../../includes/cli-configfile.md)]
- [!INCLUDE [configfile](../../../includes/cli-configfile.md)]

## Examples

Expand Down
Loading