src/Resolvers/Microsoft.NET.Sdk.WorkloadManifestReader/WorkloadResolver.cs
/// <summary>
/// Gets the IDs of all the packs that are installed
/// </summary>
Gets the IDs of all the packs that are installed
Gets the IDs of all the packs that are installed
private HashSet<WorkloadPackId> GetInstalledPacks()
        {
            var installedPacks = new HashSet<WorkloadPackId>();
            foreach (var pack in _packs)
            {
                var packPath = GetAliasedPackPath(pack.Value);
                if (PackExists(packPath, pack.Value.Kind))
                {
                    installedPacks.Add(pack.Key);
                }
            }
            return installedPacks;
        }
private HashSet < WorkloadPackId > GetInstalledPacks ( ) { var installedPacks = new HashSet < WorkloadPackId > ( ) ; foreach ( var pack in _packs ) { var packPath = GetAliasedPackPath ( pack . Value ) ; if ( PackExists ( packPath , pack . Value . Kind ) ) { installedPacks . Add ( pack . Key ) ; } } return installedPacks ; }
Gets the IDs of all the packs that are installed
Gets the IDs of all the packs that are installed