add support for type: platform
also some refactoring of DependencyContext to properly handle placeholders in 'runtimeTargets'.
This commit is contained in:
parent
39584c5612
commit
43512b8973
60 changed files with 870 additions and 572 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue