dotnet-installer/src/dotnet
2016-06-14 03:19:04 -05:00
..
CommandLine dotnet run doesn't accept '--' arg separator anymore 2016-04-26 19:57:29 -05:00
commands Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions. 2016-06-14 03:14:53 -05:00
Properties Use InternalsVisibleTo for testing 2016-04-04 17:33:09 -07:00
dotnet.xproj Remove System.CommandLine dependency. 2016-04-20 18:47:37 -05:00
DotNetCommandFactory.cs Invoke compile-csc in-proc 2016-04-16 00:28:57 -05:00
ITelemetry.cs Add performance tracing 2016-04-29 08:16:37 -07:00
MulticoreJitActivator.cs Remove use of Microsoft.Extensions.PlatformAbstractions 2016-06-08 16:28:52 -07:00
MulticoreJitProfilePathCalculator.cs Remove use of Microsoft.Extensions.PlatformAbstractions 2016-06-08 16:28:52 -07:00
Program.cs Introducing a in progress sentinel that gets verified before running the first time experience. If we can get a handle for this sentinel, we proceed with the first time run, otherwise, it means there is a first time experience running already, in which case we continue running dotnet normally, even though the final (real) sentinel is not present yet. This prevents multiple dotnet commands from running the first time experience in parallel and prevents us from running into parallel nuget restores. 2016-06-10 16:54:39 -07:00
project.json Updating NuGet to beta2-1484 2016-06-14 03:19:04 -05:00
ProjectGlobbingResolver.cs Copy FileSystemGlobbing and HashCodeCombiner sources 2016-04-29 17:55:06 -07:00
README.md [Fixes #3255] Added a web template to dotnet new 2016-06-08 11:31:08 -07:00
Telemetry.cs Address PR feedback 2016-05-03 19:19:10 -05:00

% DOTNET(1) % Microsoft Corporation dotnetclifeedback@microsoft.com % January 2016

NAME

dotnet -- general driver for running the command-line commands

SYNOPSIS

dotnet [--version] [--info] [--help] [--verbose] < command > [< args >]

DESCRIPTION

dotnet is a generic driver for the CLI toolchain. Invoked on its own, it will give out brief usage instructions.

Each specific feature is implemented as a command. In order to use the feature, it is specified after dotnet, i.e. dotnet compile. All of the arguments following the command are command's own arguments.

OPTIONS

-v, --verbose

Enable verbose output.

--version

Print out the version of the CLI tooling

--info

Print out information about the CLI tooling

-h, --help

Print out a short help and a list of current commands. 

DOTNET COMMANDS

The following commands exist for dotnet.

dotnet-compile(1)

Compile the application to either an intermediate language (IL) or to a native binary. 

dotnet-restore(1)

Restores the dependencies for a given application. 

dotnet-run(1)

Runs the application from source.

dotnet-publish(1)

Publishes a flat directory that contains the application and its dependencies, including the runtime binaries. 

dotnet-test(1)

Runs tests using a test runner specified in project.json.

dotnet-new(1)

Initializes a sample .NET Core console application. 

EXAMPLES

dotnet new

Initializes sample applications that can be compiled and run.

dotnet restore

Restores dependencies for a given application. 

dotnet compile

Compiles the application in a given directory. 

ENVIRONMENT

DOTNET_PACKAGES

The primary package cache. If not set, defaults to $HOME/.nuget/packages on Unix or %LOCALAPPDATA%\NuGet\Packages (TBD) on Windows.

DOTNET_PACKAGES_CACHE

The secondary cache. This is used by shared hosters (such as Azure) to provide a cache of pre-downloaded common packages on a faster disk. If not set it is not used.

DOTNET_SERVICING

Specifies the location of the servicing index to use by the shared host when loading the runtime. 

SEE ALSO

dotnet-compile(1), dotnet-run(1), dotnet-publish(1), dotnet-restore(1)