dotnet [command]
The dotnet cli
Arguments
Name | Description |
---|---|
command |
Subcommands
Name | Description |
---|---|
new | |
add | |
list | |
remove | |
build | |
build-server | |
clean | |
format | |
migrate | |
msbuild | |
nuget | |
pack | |
publish | |
restore | |
run | |
sln | |
store | |
test | |
tool |
Options
Name | Description |
---|---|
--version | Prints out the version of the .NET SDK used by dotnet commands. Includes the effects of any global.json |
--info | Prints out detailed information about a .NET installation and the machine environment, such as the current operating system, and commit SHA of the .NET version |
--list-runtimes | Prints out a list of the installed .NET runtimes. An x86 version of the SDK lists only x86 runtimes, and an x64 version of the SDK lists only x64 runtimes |
--list-sdks | Prints out a list of the installed .NET SDKs |
-?, -h, --help | Prints out a list of available commands |
-d, --diagnostics | Enables diagnostic output |
-v, --verbosity <verbosity> | Sets the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. Not supported in every command. See specific command page to determine if this option is available |
--additionalprobingpath <path> | Path containing probing policy and assemblies to probe |
--additional-deps <deps> | Path to an additional .deps.json file. A deps.json file contains a list of dependencies, compilation dependencies, and version information used to address assembly conflicts. For more information, see Runtime Configuration Files on GitHub |
-depsfile <deps> | Path to the deps.json file. A deps.json file is a configuration file that contains information about dependencies necessary to run the application. This file is generated by the .NET SDK |
--runtimeconfig <path> | Path to a runtimeconfig.json file. A runtimeconfig.json file is a configuration file that contains run-time settings |
--roll-forward <setting> | Controls how roll forward is applied to the app. The SETTING can be one of the following values. If not specified, Minor is the default |
--fx-version <version> | Version of the .NET runtime to use to run the application |