зеркало из https://github.com/dotnet/msbuild.git
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:
Родитель
d077d294fa
Коммит
9737cdf181
|
@ -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>
|
||||
|
||||
<!--
|
||||
============================================================
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче