From b38937811617da376c4373c540df3ed3d28654cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=BChmer?= Date: Wed, 11 Sep 2024 09:57:39 +0200 Subject: [PATCH] Normalization of GitVersionTargetFramework and fallback scenario --- .../msbuild/tools/GitVersion.MsBuild.targets | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets b/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets index ddc0e54d1e..974a840d88 100644 --- a/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets +++ b/src/GitVersion.MsBuild/msbuild/tools/GitVersion.MsBuild.targets @@ -8,7 +8,11 @@ true true - $(TargetFramework) + + net8.0 + net6.0 + + net8.0 dotnet --roll-forward Major "$([MSBuild]::EnsureTrailingSlash($(MSBuildThisFileDirectory)$(GitVersionTargetFramework)))gitversion.dll" $([MSBuild]::EnsureTrailingSlash($(MSBuildThisFileDirectory)$(GitVersionTargetFramework)))GitVersion.MsBuild.dll