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

Commit 63f17e2

Browse files
kukjevovctaggart
authored andcommitted
Fix Copy.PdbFiles for SDK 2.1.300 (#352)
1 parent fcf7ff4 commit 63f17e2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<Project>
2-
<Target Name="AddReferenceRelatedPathsToCopyLocal" AfterTargets="ResolveAssemblyReferences"
3-
Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp') and ('$(TargetFrameworkIdentifier)' != '.NETStandard')">
2+
<Target Name="_ResolveCopyLocalNuGetPackagePdbs" AfterTargets="ResolveReferences"
3+
Condition="$(CopyLocalLockFileAssemblies) == true">
44
<ItemGroup>
5-
<ReferenceCopyLocalPaths Include="@(_ReferenceRelatedPaths)" />
5+
<ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).pdb')"
6+
Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).pdb')" />
67
</ItemGroup>
78
</Target>
89
</Project>

0 commit comments

Comments
 (0)