From cb76a708abac421b0bacc7bc257575b416a573b4 Mon Sep 17 00:00:00 2001 From: Viktor Rosvall Date: Tue, 9 Jul 2024 11:05:44 +0800 Subject: [PATCH] Attempt to add the correct trailing slash character before the gitversion.dll --- .../msbuild/tools/GitVersion.MsBuild.targets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets b/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets index d7d2739947..0b86b436b9 100644 --- a/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets +++ b/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets @@ -8,10 +8,10 @@ true true - dotnet --roll-forward Major "$(MSBuildThisFileDirectory)$(TargetFramework)/gitversion.dll" - $(MSBuildThisFileDirectory)$(TargetFramework)/GitVersion.MsBuild.dll + dotnet --roll-forward Major "$([MSBuild]::EnsureTrailingSlash($(MSBuildThisFileDirectory)$(TargetFramework)))gitversion.dll" + $([MSBuild]::EnsureTrailingSlash($(MSBuildThisFileDirectory)$(TargetFramework)))GitVersion.MsBuild.dll - +