Add support for listing SDK versions and runtime versions (dotnet/core-setup#3132)
authorSteve Harter <steveharter@users.noreply.github.com>
Tue, 12 Sep 2017 20:48:20 +0000 (15:48 -0500)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2017 20:48:20 +0000 (15:48 -0500)
commit38db123d9d40b247373d30cdec682351758915ae
tree843c2fccb1dcc5853dcf6f1f0fdb572c1d06ff42
parent2382299cce13ad360e6f9ac81f2980e284f640ff
Add support for listing SDK versions and runtime versions  (dotnet/core-setup#3132)

Add support for --list-sdks and --list-runtimes

* Add more info, review comments

* Add readdir_onlydirectories to avoid reading files

* Update help

Commit migrated from https://github.com/dotnet/core-setup/commit/83ca8e67d3e830e3e689c722468c620b2a99ba81
src/installer/corehost/cli/deps_entry.cpp
src/installer/corehost/cli/fxr/fx_muxer.cpp
src/installer/corehost/cli/libhost.cpp
src/installer/corehost/common/pal.h
src/installer/corehost/common/pal.unix.cpp
src/installer/corehost/common/pal.windows.cpp
src/installer/corehost/common/utils.cpp
src/installer/corehost/common/utils.h
src/installer/corehost/corehost.cpp
src/installer/test/HostActivationTests/GivenThatICareAboutMultilevelSDKLookup.cs
src/installer/test/HostActivationTests/GivenThatICareAboutMultilevelSharedFxLookup.cs