From a8d0fbcf592d8a8d27c1ce8808df43db723e9635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=BChmer?= Date: Sun, 22 Jun 2025 20:28:45 +0200 Subject: [PATCH] fix: Use `MSBuildProjectDirectory` instead of `ProjectDir` --- src/NetEvolve.Defaults/build/SupportGeneral.targets | 6 +++--- .../build/SupportPackageInformation.targets | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/NetEvolve.Defaults/build/SupportGeneral.targets b/src/NetEvolve.Defaults/build/SupportGeneral.targets index 7146ffe..3b6d9b4 100644 --- a/src/NetEvolve.Defaults/build/SupportGeneral.targets +++ b/src/NetEvolve.Defaults/build/SupportGeneral.targets @@ -14,8 +14,8 @@ false - - - + + + diff --git a/src/NetEvolve.Defaults/build/SupportPackageInformation.targets b/src/NetEvolve.Defaults/build/SupportPackageInformation.targets index c00c6d5..6272003 100644 --- a/src/NetEvolve.Defaults/build/SupportPackageInformation.targets +++ b/src/NetEvolve.Defaults/build/SupportPackageInformation.targets @@ -39,7 +39,7 @@ Visible="false" Condition="Exists(@(_SolutionLicense))" /> - <_ProjectReadme Include="$(ProjectDir)README.md" Condition="Exists('$(ProjectDir)README.md')" /> + <_ProjectReadme Include="$(MSBuildProjectDirectory)README.md" Condition="Exists('$(MSBuildProjectDirectory)README.md')" /> <_SolutionReadme Include="$(SolutionDir)README.md" Condition="@(_ProjectReadme) == '' and Exists('$(SolutionDir)README.md')" @@ -58,7 +58,7 @@ Visible="false" Condition="'$(DisableReadme)' != 'true' and !Exists(@(_ProjectReadme)) and Exists(@(_SolutionReadme))" /> - <_ProjectLogo Include="$(ProjectDir)logo.png" Condition="Exists('$(ProjectDir)logo.png')" /> + <_ProjectLogo Include="$(MSBuildProjectDirectory)logo.png" Condition="Exists('$(MSBuildProjectDirectory)logo.png')" /> <_SolutionLogo Include="$(SolutionDir)logo.png" Condition="@(_ProjectLogo) == '' and Exists('$(SolutionDir)logo.png')"