public Dictionary <string, string> GetSupportedVersions()
        {
            if (_supportedVersions == null)
            {
                _supportedVersions = _cliOptions.EnableDynamicInstall ?
                                     _sdkStorageVersionProvider.GetSupportedVersions() :
                                     _onDiskVersionProvider.GetSupportedVersions();
            }

            return(_supportedVersions);
        }
Beispiel #2
0
        public Dictionary <string, string> GetSupportedVersions()
        {
            if (_supportedVersions == null)
            {
                _supportedVersions = _cliOptions.EnableDynamicInstall ?
                                     _sdkStorageVersionProvider.GetSupportedVersions() :
                                     _onDiskVersionProvider.GetSupportedVersions();
            }

            _logger.LogDebug("Got the list of supported versions");

            return(_supportedVersions);
        }
Beispiel #3
0
        public Dictionary <string, string> GetSupportedVersions()
        {
            if (_supportedVersions == null)
            {
                _supportedVersions = _cliOptions.EnableDynamicInstall ?
                                     _sdkStorageVersionProvider.GetSupportedVersions() :
                                     _onDiskVersionProvider.GetSupportedVersions();

                // A temporary fix to make building netcoreapp1.0 versions using the 1.1 SDK
                // This SDK has 2 runtimes: 1.1.13 and 1.0.16
                _supportedVersions[DotNetCoreRunTimeVersions.NetCoreApp10]
                    = DotNetCoreSdkVersions.DotNetCore11SdkVersion;
            }

            _logger.LogDebug("Got the list of supported versions");

            return(_supportedVersions);
        }