![]() * dotnet/release/15.5: (26 commits) Fixing the reference to Microsoft.Build.Runtime from Cli.Utils.Tests. It was using the wrong package version property. One more old style version package name needed to change in redist. Fixing the versions of MSBuild and passing the right property to find roslyn files. Use "15.5.179" for the other Microsoft.Build.* packages Moving the 'MicrosoftBuildPackageVersion' forward. Fixing "RuntimeFrameworkVersion" Updating version naming convention. Fixed a typo... Nuget.config update to align with CLI:master - add comments in DependencyVersions.prop Even more package dependency re-names... Third pass clean-up of package names. Second pass clean-up of package names; resequencing download. Updating dependency version properties in alignment with sample orchestrated build file at: https://dotnetfeed.blob.core.windows.net/orchestrated/20171129-03/orchestration-metadata/PackageVersions.props The access key is already resolved: 'CoreSetupBlobAccessTokenParam' Fixed another typo... Fixed typo... The first pass will need the extra args [same as run-build.ps1]. Dependency Uptake: download and import a package version props file. Accounting for MSRC builds with pre-set 'CoreSetupBlobRootUrl' and 'CoreSetupBlobAccessToke' properties. Changes per code review... ... TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj TestAssets/TestProjects/XunitMulti/VSTestXunitDesktopAndNetCore.csproj build/BundledTemplates.props build/DependencyVersions.props build/NugetConfigFile.targets build/Test.targets build_projects/dotnet-cli-build/dotnet-cli-build.csproj dir.props run-build.sh src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj src/dotnet/dotnet.csproj src/redist/redist.csproj src/tool_fsharp/tool_fsc.csproj test/ArgumentForwardingTests/ArgumentForwardingTests.csproj test/EndToEnd/EndToEnd.csproj test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj test/binding-redirects.Tests/binding-redirects.Tests.csproj test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj test/dotnet-back-compat.Tests/dotnet-back-compat.Tests.csproj test/dotnet-help.Tests/dotnet-help.Tests.csproj test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj test/dotnet-new.Tests/dotnet-new.Tests.csproj test/dotnet-remove-package.Tests/dotnet-remove-package.Tests.csproj test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj test/dotnet-restore.Tests/dotnet-restore.Tests.csproj test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj test/dotnet.Tests/dotnet.Tests.csproj |
||
---|---|---|
.. | ||
CommandLine | ||
commands | ||
Properties | ||
ShellShim | ||
Telemetry | ||
ToolPackage | ||
xlf | ||
AppliedOptionExtensions.cs | ||
ArgumentForwardingExtensions.cs | ||
BuiltInCommandMetadata.cs | ||
BuiltInCommandsCatalog.cs | ||
BundledTargetFramework.cs | ||
CommandBase.cs | ||
CommandCreationException.cs | ||
CommonLocalizableStrings.resx | ||
CommonOptions.cs | ||
dotnet.csproj | ||
DotNetCommandFactory.cs | ||
DotNetTopLevelCommandBase.cs | ||
ForwardingApp.cs | ||
HelpException.cs | ||
ICommandRunner.cs | ||
MsbuildProject.cs | ||
MsbuildProjectExtensions.cs | ||
MulticoreJitActivator.cs | ||
MulticoreJitProfilePathCalculator.cs | ||
NuGetForwardingApp.cs | ||
Parser.cs | ||
ParseResultExtensions.cs | ||
ParserExtensions.cs | ||
Program.cs | ||
ProjectExtensions.cs | ||
ProjectInstanceExtensions.cs | ||
README.md | ||
SlnFileExtensions.cs | ||
SlnFileFactory.cs | ||
SlnProjectCollectionExtensions.cs | ||
SlnProjectExtensions.cs | ||
TopLevelCommandParserResult.cs | ||
UILanguageOverride.cs |
% DOTNET(1) % Microsoft Corporation dotnetclifeedback@microsoft.com % June 2016
NAME
dotnet -- General driver for running the command-line commands
SYNOPSIS
dotnet [--version] [--help] [--verbose] [--info] <command> [<args>]
DESCRIPTION
dotnet
is a generic driver for the Command Line Interface (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, the command is specified after dotnet
, such as dotnet build
. All of the arguments following the command are its own arguments.
The only time dotnet
is used as a command on its own is to run portable apps. Just specify a portable application DLL after the dotnet
verb to execute the application.
OPTIONS
-v, --verbose
Enables verbose output.
--version
Prints out the version of the CLI tooling.
--info
Prints out more detailed information about the CLI tooling, such as the current operating system, commit SHA for the version, etc.
-h, --help
Prints out a short help and a list of current commands.
DOTNET COMMANDS
The following commands exist for dotnet:
- dotnet-new
- Initializes a C# or F# console application project.
- dotnet-restore
- Restores the dependencies for a given application.
- dotnet-build
- Builds a .NET Core application.
- dotnet-publish
- Publishes a .NET portable or self-contained application.
- dotnet-run
- Runs the application from source.
- dotnet-test
- Runs tests using a test runner specified in the project.json.
- dotnet-pack
- Creates a NuGet package of your code.
EXAMPLES
dotnet new
Initializes a sample .NET Core console application that can be compiled and run.
dotnet restore
Restores dependencies for a given application.
dotnet compile
Compiles the application in a given directory.
dotnet myapp.dll
Runs a portable app named myapp.dll
.
ENVIRONMENT
NUGET_PACKAGES
The primary package cache. If not set, it defaults to $HOME/.nuget/packages on Unix or %HOME%\NuGet\Packages on Windows.
DOTNET_SERVICING
Specifies the location of the servicing index to use by the shared host when loading the runtime.
DOTNET_CLI_TELEMETRY_OPTOUT
Specifies whether data about the .NET Core tools usage is collected and sent to Microsoft. true to opt-out of the telemetry feature (values true, 1 or yes accepted); otherwise, false (values false, 0 or no accepted). If not set, it defaults to false, that is, the telemetry feature is on.