add support for type: platform

also some refactoring of DependencyContext to properly handle
placeholders in 'runtimeTargets'.
This commit is contained in:
Andrew Stanton-Nurse 2016-03-17 11:56:57 -07:00
parent 39584c5612
commit 43512b8973
60 changed files with 870 additions and 572 deletions

View file

@ -5,6 +5,7 @@ using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
namespace Microsoft.Extensions.DependencyModel
{
@ -54,12 +55,12 @@ namespace Microsoft.Extensions.DependencyModel
foreach (var runtimeLibrary in context.RuntimeLibraries)
{
CheckMetadata(runtimeLibrary);
foreach (var runtimeAssembly in runtimeLibrary.Assemblies)
{
var assembly = Assembly.Load(runtimeAssembly.Name);
}
}
foreach (var name in context.GetDefaultAssemblyNames())
{
var assembly = Assembly.Load(new AssemblyName(name));
}
}
}
}