Skip to content

Commit

Permalink
Disable copying ProjectReferences in generator projects (#74897)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericstj committed Sep 1, 2022
1 parent a919d61 commit 6414a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/references.targets
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<_FindDependencies>false</_FindDependencies>
</PropertyGroup>

<!-- Project references shouldn't be copied to the output for reference or source projects. -->
<ItemDefinitionGroup Condition="'$(IsSourceProject)' == 'true' or '$(IsReferenceAssemblyProject)' == 'true'">
<!-- Project references shouldn't be copied to the output for reference, source, or generator projects. -->
<ItemDefinitionGroup Condition="'$(IsSourceProject)' == 'true' or '$(IsReferenceAssemblyProject)' == 'true' or '$(IsGeneratorProject)' == 'true'">
<ProjectReference>
<Private>false</Private>
</ProjectReference>
Expand Down

0 comments on commit 6414a0b

Please sign in to comment.