From 9b87562e57ac3de078383a8456cf4696d3ebfe79 Mon Sep 17 00:00:00 2001 From: pierre-irrmann Date: Fri, 21 Mar 2025 10:27:30 +0100 Subject: [PATCH] [C#] Read NuGet package version from version file --- csharp/sbe-dll/sbe-dll.csproj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/csharp/sbe-dll/sbe-dll.csproj b/csharp/sbe-dll/sbe-dll.csproj index 6db6d56021..e4245e5c1b 100644 --- a/csharp/sbe-dll/sbe-dll.csproj +++ b/csharp/sbe-dll/sbe-dll.csproj @@ -13,7 +13,8 @@ https://github.com/aeron-io/simple-binary-encoding SBE;Marshaling;Low;Latency;Simple;Binary;Encoding sbe-tool - 1.23.1.1 + $(MSBuildProjectDirectory)\..\..\version.txt + $([System.IO.File]::ReadAllText($(VersionFile)).TrimEnd()) Simple Binary Encoding for .NET This package contains all you need to define SBE messages and generate C# encoders and decoders. See https://github.com/aeron-io/simple-binary-encoding for more detailed instructions git @@ -31,7 +32,7 @@ true tools/sbe-tool.sh - + true tools/sbe-tool-all.jar