in GenerateToolingFeed/Helper.cs [94:123]
public static string GetRuntimeIdentifier(bool isMinified, string os, string architecture)
{
string rid = string.Empty;
if (isMinified)
{
rid = "min.";
}
os = os.ToLower();
if (Constants.OperatingSystem.TryGetValue(os, out string osValue))
{
rid = rid + osValue;
}
else
{
throw new Exception($"Could not find matching value for {os} to generate rid");
}
if (Constants.Architecture.TryGetValue(architecture, out string architectureValue))
{
rid = rid + "-" + architectureValue;
}
else
{
throw new Exception($"Could not find matching value for {architecture} to generate rid");
}
return rid;
}