in build/DependencyHelper.cs [23:39]
private static Dictionary<string, string[]> BuildRuntimesGraph()
{
var ridGraph = new Dictionary<string, string[]>();
string runtimesJson = GetRuntimesGraphJson();
var runtimes = (JObject)JObject.Parse(runtimesJson)["runtimes"];
foreach (var runtime in runtimes)
{
string[] imports = ((JObject)runtime.Value)["#import"]
?.Values<string>()
.ToArray();
ridGraph.Add(runtime.Key, imports);
}
return ridGraph;
}