From 4e4f4e9889a013d277f2404ddf0416f650e460f3 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets b/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets index d7d2739947..f14f02479c 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" + dotnet --roll-forward Major "$([MSBuild]::EnsureTrailingSlash($(MSBuildThisFileDirectory)$(TargetFramework))gitversion.dll" $(MSBuildThisFileDirectory)$(TargetFramework)/GitVersion.MsBuild.dll - +