From d0edbb4dab0d3ed61e266fc016accd7592271cd1 Mon Sep 17 00:00:00 2001 From: Kouji Matsui Date: Tue, 28 May 2024 22:51:05 +0900 Subject: [PATCH] Supported dotnet future release versions (maybe). --- RelaxVersioner/RelaxVersioner.csproj | 2 +- RelaxVersioner/build/RelaxVersioner.props | 28 ++++++++++++++++++++- RelaxVersioner/build/RelaxVersioner.targets | 13 ++++++++-- 3 files changed, 39 insertions(+), 4 deletions(-) diff --git a/RelaxVersioner/RelaxVersioner.csproj b/RelaxVersioner/RelaxVersioner.csproj index 3bcc360..1c9d823 100644 --- a/RelaxVersioner/RelaxVersioner.csproj +++ b/RelaxVersioner/RelaxVersioner.csproj @@ -25,7 +25,7 @@ - Minor + LatestMajor diff --git a/RelaxVersioner/build/RelaxVersioner.props b/RelaxVersioner/build/RelaxVersioner.props index 52ca8f8..6f6f9ac 100644 --- a/RelaxVersioner/build/RelaxVersioner.props +++ b/RelaxVersioner/build/RelaxVersioner.props @@ -99,5 +99,31 @@ - + + + + + + + + + + + + + + + + diff --git a/RelaxVersioner/build/RelaxVersioner.targets b/RelaxVersioner/build/RelaxVersioner.targets index 9d91254..d8e3920 100644 --- a/RelaxVersioner/build/RelaxVersioner.targets +++ b/RelaxVersioner/build/RelaxVersioner.targets @@ -53,6 +53,11 @@ + + <_RVB_CandidateToolingDir ToolingDir="$(_RVB_ToolingDir)"> + + + @@ -110,7 +115,7 @@ $(_RVB_RuntimeName) - $([System.IO.Path]::GetFullPath('$(_RVB_ToolingDir)')) + $(_RVB_ToolingCandidateDir) $([System.IO.Path]::Combine('$(RelaxVersionerToolingDir)','$(_RVB_ExecutableName)')) @@ -282,9 +287,13 @@ + <_RVB_CandidateToolingDir ToolingDir="$(_RVB_ToolingDir)"> + + + $(_RVB_RuntimeName) - $([System.IO.Path]::GetFullPath('$(_RVB_ToolingDir)')) + $(_RVB_ToolingCandidateDir) $([System.IO.Path]::Combine('$(RelaxVersionerToolingDir)','$(_RVB_ExecutableName)')) $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)','$(NuspecOutputPath)'))