dotnet-installer/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands
Peter Huene bc96902c61
Implement mode option for dotnet publish.
This commit implements a `mode` option that can control how an application is
published with the `dotnet publish` command.

There are three supported modes:

* self-contained: publishes a self-contained application (same as
--self-contained).
* fx-dependent: publishes a framework-dependent application (with an
application host when a runtime is specified).
* fx-dependent-no-exe: publishes a framework-dependent application without an
application host.

The default when publishing without a runtime specified is
`fx-dependent-no-exe`.

The default when publishing with a runtime specified is `self-contained`.

`fx-dependent` requires netcoreapp2.1 or later when a runtime is specified.

The `--self-contained` option is still supported, but is now hidden so that
users will be encouraged to move to the `--mode` option.

Fixes #6237.
2018-06-11 15:43:55 -07:00
..
AddReferenceCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
BuildCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
BuildServerCommand.cs Fix Razor server shutdown on Windows. 2018-04-27 13:52:17 -07:00
CleanCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
DependencyToolInvokerCommand.cs Removing the additional shared framework from the official stage2 build of the CLI. Instead, I also create a stage2 build with the legacy runtime so that we can continue to run tests tthat depend on it, but most importantly, we will be able to run backwards compatibility tests using it. 2017-04-08 00:31:27 -07:00
DotnetCommand.cs Removing the additional shared framework from the official stage2 build of the CLI. Instead, I also create a stage2 build with the legacy runtime so that we can continue to run tests tthat depend on it, but most importantly, we will be able to run backwards compatibility tests using it. 2017-04-08 00:31:27 -07:00
DotnetTestCommand.cs Replacing the short form version of implicit msbuild parameters with longform ones. 2018-04-02 22:54:51 -07:00
HelpCommand.cs Replace dotnet help parser with CliCommandLineParser 2017-04-10 22:11:14 -07:00
ListReferenceCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
MigrateCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
MSBuildCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
NewCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
NewCommandShim.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
PackCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
PublishCommand.cs Implement mode option for dotnet publish. 2018-06-11 15:43:55 -07:00
RemoveReferenceCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
RestoreCommand.cs Replacing the short form version of implicit msbuild parameters with longform ones. 2018-04-02 22:54:51 -07:00
RunCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00
StoreCommand.cs Fix tests for cache => store rename. 2017-04-07 15:51:37 -05:00
TestCommand.cs Support new artifacts layout in tests and other build logic 2017-08-24 15:49:13 -07:00
ToolCommand.cs Change command order for tools (#8862) 2018-03-21 19:12:32 -07:00
VSTestCommand.cs Move all test commands to DotNetCommand base 2017-03-14 14:07:51 -07:00