Open
Description
Building this project results in logging a TaskParameterEventArgs
with kind == SkippedTargetInputs
, where itemType == null
and Items == null
:
<Project>
<ItemGroup>
<_CodesignItems Include="foo" />
</ItemGroup>
<Target Name="Build"
Inputs="@(_CodesignItems)"
Outputs="@(_CodesignItems -> '%(CodesignStampFile)')">
</Target>
</Project>
This other case results in a friendlier message:
<Project>
<Target Name="Build"
Inputs="@(_CodesignItems)"
Outputs="@(_CodesignItems -> '%(CodesignStampFile)')">
</Target>
</Project>
The TaskParameterEventArgs
is logged here:
The friendlier message is logged here:
msbuild/src/Build/BackEnd/Components/RequestBuilder/TargetUpToDateChecker.cs
Lines 483 to 484 in de1d7a2
We should add a couple of tests for the above scenarios and perhaps avoid logging both TaskParameterEventArgs
if the item array is empty.