fix issue in LibraryExporter with placeholders
This commit is contained in:
parent
1febe48d71
commit
f7188ddb20
1 changed files with 2 additions and 2 deletions
|
@ -221,12 +221,12 @@ namespace Microsoft.DotNet.ProjectModel.Compilation
|
|||
|
||||
if (runtime.Any())
|
||||
{
|
||||
builder.AddRuntimeAssemblyGroup(new LibraryAssetGroup(targetGroup.Key, runtime));
|
||||
builder.AddRuntimeAssemblyGroup(new LibraryAssetGroup(targetGroup.Key, runtime.Where(a => !PackageDependencyProvider.IsPlaceholderFile(a.RelativePath))));
|
||||
}
|
||||
|
||||
if (native.Any())
|
||||
{
|
||||
builder.AddNativeLibraryGroup(new LibraryAssetGroup(targetGroup.Key, native));
|
||||
builder.AddNativeLibraryGroup(new LibraryAssetGroup(targetGroup.Key, native.Where(a => !PackageDependencyProvider.IsPlaceholderFile(a.RelativePath))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue