Skip to content

Commit 6414a0b

Browse files
authored
Disable copying ProjectReferences in generator projects (#74897)
1 parent a919d61 commit 6414a0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/references.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<_FindDependencies>false</_FindDependencies>
88
</PropertyGroup>
99

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

0 commit comments

Comments
 (0)