
Stores assemblies in the runtime package store.ĭeletes or unlists a package from the server. Options to add, remove, and list projects in a solution file. Shows up-to-date status of installed SDK and Runtime versions. Restores the dependencies for a given application. NET framework-dependent or self-contained application. Initializes a C# or F# project for a given template.

Provides access to the MSBuild command line. Shows more detailed documentation online for the command. Interacts with servers started by a build. A runtimeconfig.json file contains run-time settings and is typically named. A deps.json file is a configuration file that contains information about dependencies necessary to run the application. For example, dotnet exec -runtimeconfig myapp.dll. The following options are available only when dotnet runs an application by using the exec command. Options for running an application with the exec command If the application has more than one framework reference, using this option may cause errors. This means it only works as expected if there's just one framework reference. This option overrides the version of the first framework reference in the application's.

NET runtime to use to run the application. For more information, see Major-version runtime roll forward. Roll forward behavior can also be configured in a project file property, a runtime configuration file property, and an environment variable. With the exception of Disable, all settings will use the highest available patch version. This value is only recommended for testing. This policy isn't recommended for general use because it disables the ability to roll forward to the latest patches. Intended for component hosting scenarios.

A deps.json file contains a list of dependencies, compilation dependencies, and version information used to address assembly conflicts. Repeat the option to specify multiple paths. Path containing probing policy and assemblies to probe. For example, dotnet -roll-forward Major myapp.dll. The following options are available when dotnet runs an application. See specific command page for a list of available options. For example, dotnet build -help displays help for the build command.Įach command defines options specific to that command. Prints out documentation for a given command. See specific command page to determine if this option is available. For example, dotnet build -help or dotnet build -verbosity diagnostic. The following options are for dotnet with a command. An x86 version of the SDK lists only x86 runtimes, and an 圆4 version of the SDK lists only 圆4 runtimes. Available only when the SDK is installed. NET SDK used by dotnet commands, which may be affected by a global.json file. NET installation and the machine environment, such as the current operating system, and commit SHA of the. They print out information about the environment. For example, dotnet -info or dotnet -version. The following options are available when dotnet is used by itself, without specifying a command or an application to run. Options for displaying environment information and available commands

NET projects.įor example, dotnet build builds a project. To run an application: dotnet ĭotnet exec To run a command (requires SDK installation): dotnet To get information about the available commands and the environment: dotnet NET Core 3.1 SDK and later versions Nameĭotnet - The generic driver for the.
