Skip to content

Commit

Permalink
Add package content in multitargeting GetPackageContents
Browse files Browse the repository at this point in the history
When project-level targets need access to the content, they should be able to 
rely on the same item group generated for non-multitargeting runs.
  • Loading branch information
kzu authored Apr 29, 2019
1 parent 861f27c commit 88f9e4b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ Copyright (c) .NET Foundation. All rights reserved.
all builds.
============================================================
-->
<Target Name="GetPackageContents" DependsOnTargets="_SetGetPackageContentsInnerTarget;DispatchToInnerBuilds" Returns="@(InnerOutput)" />
<Target Name="GetPackageContents" DependsOnTargets="_SetGetPackageContentsInnerTarget;DispatchToInnerBuilds" Returns="@(InnerOutput)">
<ItemGroup>
<_PackageContent Include="@(InnerOutput)" />
</ItemGroup>
</Target>

<Target Name="_SetGetPackageContentsInnerTarget">
<PropertyGroup>
Expand Down

0 comments on commit 88f9e4b

Please sign in to comment.