Add missing p2p annotations for BuildGenerateSources, BuildCompile, BuildLink, FindInvalidProjectReferences (#8725)

Add missing p2p annotations for BuildGenerateSources, BuildCompile, BuildLink, FindInvalidProjectReferences

This change adds some missing ProjectReferenceTargets items which help with more correct graph construction.
This commit is contained in:
David Federman 2023-05-22 18:33:55 -07:00 коммит произвёл GitHub
Родитель d077d294fa
Коммит 9737cdf181
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 16 добавлений и 0 удалений

Просмотреть файл

@ -1027,6 +1027,10 @@ Copyright (C) Microsoft Corporation. All rights reserved.
</MSBuild>
</Target>
<ItemGroup Condition="'$(IsGraphBuild)' == 'true' and '$(BuildPassReferences)' == 'true'">
<ProjectReferenceTargets Include="BuildGenerateSources" Targets="BuildGenerateSources" />
</ItemGroup>
<!--
============================================================
BuildCompile
@ -1052,6 +1056,10 @@ Copyright (C) Microsoft Corporation. All rights reserved.
</MSBuild>
</Target>
<ItemGroup Condition="'$(IsGraphBuild)' == 'true' and '$(BuildPassReferences)' == 'true'">
<ProjectReferenceTargets Include="BuildCompile" Targets="BuildCompile" />
</ItemGroup>
<!--
============================================================
BuildLink
@ -1077,6 +1085,10 @@ Copyright (C) Microsoft Corporation. All rights reserved.
</MSBuild>
</Target>
<ItemGroup Condition="'$(IsGraphBuild)' == 'true' and '$(BuildPassReferences)' == 'true'">
<ProjectReferenceTargets Include="BuildLink" Targets="BuildLink" />
</ItemGroup>
<!--
============================================================
CopyRunEnvironmentFiles
@ -2698,6 +2710,10 @@ Copyright (C) Microsoft Corporation. All rights reserved.
</MSBuild>
</Target>
<ItemGroup Condition="'$(IsGraphBuild)' == 'true' and '$(FindInvalidProjectReferences)' == 'true'">
<ProjectReferenceTargets Include="Build" Targets="GetTargetPathWithTargetPlatformMoniker" />
</ItemGroup>
<!--
============================================================