Skip to content

Commit

Permalink
Use documented item group in FindInvalidProjectReferences (#10220)
Browse files Browse the repository at this point in the history
Use the documented item group instead of reusing `TargetPathWithTargetPlatformMoniker`.
  • Loading branch information
jkoritzinsky authored Aug 5, 2024
1 parent 85d805a commit 027c64a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tasks/Microsoft.Common.CurrentVersion.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2737,7 +2737,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<FindInvalidProjectReferences
TargetPlatformVersion="$(TargetPlatformVersion)"
TargetPlatformIdentifier="$(TargetPlatformIdentifier)"
ProjectReferences="@(TargetPathWithTargetPlatformMoniker)">
ProjectReferences="@(_ProjectReferenceTargetPlatformMonikers)">
<Output TaskParameter="InvalidReferences" ItemName="InvalidProjectReferences" />
</FindInvalidProjectReferences>

Expand All @@ -2754,7 +2754,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
BuildInParallel="$(BuildInParallel)"
ContinueOnError="!$(BuildingProject)"
RemoveProperties="%(_MSBuildProjectReferenceExistent.GlobalPropertiesToRemove)$(_GlobalPropertiesToRemoveFromProjectReferences)">
<Output TaskParameter="TargetOutputs" ItemName="TargetPathWithTargetPlatformMoniker" />
<Output TaskParameter="TargetOutputs" ItemName="_ProjectReferenceTargetPlatformMonikers" />
</MSBuild>
</Target>

Expand Down

0 comments on commit 027c64a

Please sign in to comment.