Skip to content
Merged
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
6 changes: 5 additions & 1 deletion docs/core/tools/dotnet-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ms.date: 09/04/2020

```dotnetcli
dotnet new <TEMPLATE> [--dry-run] [--force] [-lang|--language {"C#"|"F#"|VB}]
[-n|--name <OUTPUT_NAME>] [--no-update-check]
[-n|--name <OUTPUT_NAME>] [-f|--framework <FRAMEWORK>] [--no-update-check]
[-o|--output <OUTPUT_DIRECTORY>] [--project <PROJECT_PATH>]
[-d|--diagnostics] [--verbosity <LEVEL>] [Template options]

Expand Down Expand Up @@ -122,6 +122,10 @@ To activate tab completion for the .NET SDK, see [Enable tab completion](enable-

The name for the created output. If no name is specified, the name of the current directory is used.

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

Specifies the [target framework](../../standard/frameworks.md). It expects a target framework moniker (TFM). Examples: "net6.0", "net7.0-macos". This value will be reflected in the project file.

- **`-no-update-check`**

Disables checking for template package updates when instantiating a template. Available since .NET SDK 6.0.100.
Expand Down