Add MSBuildProjectDescription
This commit is contained in:
parent
06ff80392e
commit
ca2707292e
12 changed files with 276 additions and 77 deletions
|
@ -21,7 +21,7 @@ namespace Microsoft.DotNet.ProjectModel
|
|||
{
|
||||
if (export.Library.Identity.Type == LibraryType.Package)
|
||||
{
|
||||
var runtimeJson = ((PackageDescription) export.Library).Library.Files.FirstOrDefault(f => f == RuntimeJsonFileName);
|
||||
var runtimeJson = ((PackageDescription) export.Library).PackageLibrary.Files.FirstOrDefault(f => f == RuntimeJsonFileName);
|
||||
if (runtimeJson != null)
|
||||
{
|
||||
var runtimeJsonFullName = Path.Combine(export.Library.Path, runtimeJson);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue