Fix .NET Framework compilation

This commit is contained in:
David Fowler 2015-10-17 00:04:20 -07:00
parent adaf7f9be4
commit 7f452bce7d

View file

@ -142,7 +142,7 @@ namespace Microsoft.Extensions.ProjectModel
LibraryDescription dep; LibraryDescription dep;
if (!libraries.TryGetValue(dependency.Name, out dep)) if (!libraries.TryGetValue(dependency.Name, out dep))
{ {
if (Equals(LibraryType.ReferenceAssembly, dependency.Type)) if (Equals(LibraryType.ReferenceAssembly, dependency.Target))
{ {
dep = referenceAssemblyDependencyResolver.GetDescription(dependency, TargetFramework) ?? dep = referenceAssemblyDependencyResolver.GetDescription(dependency, TargetFramework) ??
unresolvedDependencyProvider.GetDescription(dependency, TargetFramework); unresolvedDependencyProvider.GetDescription(dependency, TargetFramework);