Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
Fix Copy.PdbFiles for SDK 2.1.300 (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
kukjevov authored and ctaggart committed Jun 21, 2018
1 parent fcf7ff4 commit 63f17e2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions SourceLink.Copy.PdbFiles/SourceLink.Copy.PdbFiles.targets
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<Project>
<Target Name="AddReferenceRelatedPathsToCopyLocal" AfterTargets="ResolveAssemblyReferences"
Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp') and ('$(TargetFrameworkIdentifier)' != '.NETStandard')">
<Target Name="_ResolveCopyLocalNuGetPackagePdbs" AfterTargets="ResolveReferences"
Condition="$(CopyLocalLockFileAssemblies) == true">
<ItemGroup>
<ReferenceCopyLocalPaths Include="@(_ReferenceRelatedPaths)" />
<ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).pdb')"
Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).pdb')" />
</ItemGroup>
</Target>
</Project>

0 comments on commit 63f17e2

Please sign in to comment.