From 28f645a9fff9494de5b69df18b50434c39297c96 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Thu, 22 Feb 2024 08:30:36 -0600 Subject: [PATCH] Use Distinct --- .../content/repo-projects/Directory.Build.targets | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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" /> - +