diff options
Diffstat (limited to 'dir.traversal.targets')
-rw-r--r-- | dir.traversal.targets | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dir.traversal.targets b/dir.traversal.targets index 52422a4c92..11ee4e1831 100644 --- a/dir.traversal.targets +++ b/dir.traversal.targets @@ -86,6 +86,32 @@ ContinueOnError="ErrorAndContinue" /> </Target> + <Target Name="ProducesPackageId" + Returns="@(PackageIds)" + DependsOnTargets="FilterProjects"> + <MSBuild Targets="ProducesPackageId" + Projects="@(Project)" + BuildInParallel="true" + ContinueOnError="ErrorAndContinue"> + <Output TaskParameter="TargetOutputs" + ItemName="PackageIds" /> + </MSBuild> + <ItemGroup> + <PackageIds Include="@(PackageIds)" /> + </ItemGroup> + </Target> + + <Target Name="ProducesTarget" DependsOnTargets="FilterProjects"> + <MSBuild Targets="ProducesPackageId" + Projects="@(Project)" + BuildInParallel="true" + ContinueOnError="ErrorAndContinue"> + <Output TaskParameter="TargetOutputs" + ItemName="PackageIds" /> + </MSBuild> + <Message Text="%(PackageIds.Identity)" Importance="High" /> + </Target> + <Target Name="BuildAllProjects" DependsOnTargets="FilterProjects"> <PropertyGroup> <DefaultBuildAllTarget Condition="'$(DefaultBuildAllTarget)'==''">$(MSBuildProjectDefaultTargets)</DefaultBuildAllTarget> |