From 5f25183cb67adaa10b376b0d88e2759adf38a465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Mon, 27 Jan 2025 14:24:10 +0100 Subject: [PATCH] Fix assembly reference --- SemanticVersioning.targets | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/SemanticVersioning.targets b/SemanticVersioning.targets index 60d5bb82..18d6a4f2 100644 --- a/SemanticVersioning.targets +++ b/SemanticVersioning.targets @@ -1,13 +1,19 @@ + + + <_NuGetVersioningAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildToolsPath)/Sdks/NuGet.Build.Tasks.Pack/CoreCLR/NuGet.Versioning.dll + <_NuGetVersioningAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildToolsPath)/Sdks/NuGet.Build.Tasks.Pack/Desktop/NuGet.Versioning.dll + <_NuGetVersioningAssemblyFile Condition="!$([System.IO.Path]::Exists('$(_NuGetVersioningAssemblyFile)'))">$(MSBuildToolsPath)/NuGet.Versioning.dll + - - +