Restore missing native *.ni.pdb file from the Microsoft.NETCore.Runtime.CoreCLR ...
authorVance Morrison <vancem@microsoft.com>
Fri, 7 Jul 2017 22:02:12 +0000 (15:02 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Jul 2017 22:02:12 +0000 (15:02 -0700)
commit597a7996c5a7d2a0b52e0c9b404f6fbff0d34aad
treeca7fc06f530674c86fa59ed79fa1ea4fa68d048a
parent14908c750664a000c45936a7b42532a2ed2ad233
Restore missing native *.ni.pdb file from the Microsoft.NETCore.Runtime.CoreCLR (#12677)

* Restore missing native *.ni.pdb file from the Microsoft.NETCore.Runtime.CoreCLR package

DLLs that have native code, need both the *.pdb (for IL information) and the *.ni.pdb (for
native information).

When System.Private.Corlib was renamed from System.Private.Corlib.ni.pdb to System.Private.Corlib,
the logic that decides what goes into the  Microsoft.NETCore.Runtime.CoreCLR package lost
the *.ni.pdb for System.Private.Corlib.

This change basically causes this logic to search both for *.ni.pdb as well as the *.pdb file and
thus fixes this issue.

* Remove unnecessary condition (review feedback)
src/.nuget/dir.targets