diff --git a/src/SourceBuild/content/repo-projects/Directory.Build.targets b/src/SourceBuild/content/repo-projects/Directory.Build.targets index 2677db09128c..df5ce45b942e 100644 --- a/src/SourceBuild/content/repo-projects/Directory.Build.targets +++ b/src/SourceBuild/content/repo-projects/Directory.Build.targets @@ -726,11 +726,10 @@ + reference. To prevent this from happening, use the Distinct method which operates on just the Identity to get a unique set + of values. --> - <_TransitiveRepositoryReference Include="@(_DependencyTransitiveRepositoryReference)" - RemoveMetadata="MSBuildSourceProjectFile;MSBuildSourceTargetName;OriginalItemSpec" /> - +