Add runtime signature into deps.json

This commit is contained in:
Pavel Krymets 2016-03-23 14:51:03 -07:00
parent a81f1c08f0
commit f75481f731
15 changed files with 187 additions and 78 deletions

View file

@ -69,7 +69,7 @@ namespace RuntimeGraphGenerator
{
context = new DependencyContextJsonReader().Read(depsStream);
}
var framework = NuGetFramework.Parse(context.TargetFramework);
var framework = NuGetFramework.Parse(context.Target.Framework);
var projectContext = ProjectContext.Create(projectDirectory, framework);
// Configuration is used only for P2P dependencies so were don't care
@ -79,9 +79,7 @@ namespace RuntimeGraphGenerator
var expandedGraph = manager.Expand(graph, runtimes);
context = new DependencyContext(
context.TargetFramework,
context.Runtime,
context.IsPortable,
context.Target,
context.CompilationOptions,
context.CompileLibraries,
context.RuntimeLibraries,