From 0f01535e69112b4a1774c4b3ee78fadb246f71ec Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Sat, 28 Jan 2023 04:51:42 -0300 Subject: [PATCH] Deduplicate project properties before generation Avoids build failures due to misconfiguration. Closes #172 --- src/ThisAssembly.Project/ThisAssembly.Project.targets | 5 ++++- src/ThisAssembly.Tests/ThisAssembly.Tests.csproj | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ThisAssembly.Project/ThisAssembly.Project.targets b/src/ThisAssembly.Project/ThisAssembly.Project.targets index 8128b2f6..150f0035 100644 --- a/src/ThisAssembly.Project/ThisAssembly.Project.targets +++ b/src/ThisAssembly.Project/ThisAssembly.Project.targets @@ -8,8 +8,11 @@ + + + - @(ProjectProperty, '|') + @(ProjectPropertyDistinct, '|') diff --git a/src/ThisAssembly.Tests/ThisAssembly.Tests.csproj b/src/ThisAssembly.Tests/ThisAssembly.Tests.csproj index 47527186..96284b3b 100644 --- a/src/ThisAssembly.Tests/ThisAssembly.Tests.csproj +++ b/src/ThisAssembly.Tests/ThisAssembly.Tests.csproj @@ -49,6 +49,7 @@ +