dotnet-installer/test/Microsoft.DotNet.Tools.Tests.Utilities
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
..
Assertions Make --no-build imply --no-restore for pack command. 2017-11-27 23:53:22 -08:00
Commands Implement mode option for dotnet publish. 2018-06-11 15:43:55 -07:00
Extensions Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Mock Always store absolute full path in directory and file path (#9363) 2018-06-06 11:22:19 -07:00
NetworkUtils Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Properties Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
TempFileSystem Trailing newlines + standardize tabs -> spaces 2017-03-02 20:35:20 -08:00
BufferedReporter.cs Add verbosity option to install tool command. 2018-01-31 15:19:34 -08:00
DotnetLegacyRuntimeIdentifiers.cs Trailing newlines + standardize tabs -> spaces 2017-03-02 20:35:20 -08:00
DotnetUnderTest.cs Made dotnet-(vs)test.Tests pass on localized setup 2017-06-12 18:32:31 -07:00
EnvironmentInfo.cs Replace alpine with linux-musl builds 2018-04-20 13:23:00 -07:00
LinuxOnlyFactAttribute.cs merge master 2017-03-19 17:09:05 -07:00
MacOsOnlyFactAttribute.cs merge master 2017-03-19 17:09:05 -07:00
Microsoft.DotNet.Tools.Tests.Utilities.csproj Move some projects to netstandard2.0 (#8692) 2018-03-22 16:11:51 -07:00
NonWindowsOnlyFactAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00
NonWindowsOnlyTheoryAttribute.cs add EOLs in the end of files 2017-02-16 14:22:02 -08:00
NuGetConfig.cs Global tools package obtain (#8035) 2017-11-21 20:10:06 -08:00
NuGetFrameworks.cs Update tool tests to target netcoreapp2.1 2017-08-18 18:07:14 -07:00
PeReaderUtils.cs typo 2017-08-14 21:26:49 -07:00
RepoDirectoriesProvider.cs Apphost shim (#8893) 2018-04-02 12:37:25 -07:00
RequiresSpecificFrameworkFactAttribute.cs Fix tests on netcoreapp1.1 only platforms 2017-02-22 21:34:21 -06:00
RequiresSpecificFrameworkTheoryAttribute.cs Apply code review feedback 2017-04-27 09:30:40 -07:00
TestBase.cs Adding new docker files for opensuse.42.3, ubuntu.18.04 and fedora.27 and removing the project.json CLI from the build. It was not being used anymore. 2018-03-27 10:24:10 -07:00
UnixOnlyFactAttribute.cs Log Windows product type and installation type, and Linux libc version (#8688) 2018-02-27 18:55:35 -08:00
WindowsOnlyFactAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00
WindowsOnlyTheoryAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00